From owner-freebsd-questions Mon Jul 1 16: 9:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBC6237B400 for ; Mon, 1 Jul 2002 16:09:15 -0700 (PDT) Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CF4943E09 for ; Mon, 1 Jul 2002 16:09:15 -0700 (PDT) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.5.Beta0/8.12.5.Beta0) with ESMTP id g61N9E36045119 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 1 Jul 2002 16:09:14 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.5.Beta0/8.12.5.Beta0/Submit) id g61N9Eaf045116; Mon, 1 Jul 2002 16:09:14 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15648.57626.299993.986587@horsey.gshapiro.net> Date: Mon, 1 Jul 2002 16:09:14 -0700 From: Gregory Neil Shapiro To: Qingjia Zhu Cc: Alexander V Zubchenko , freebsd-questions@FreeBSD.org Subject: Re: sendmail refuse localhost(revisited)? In-Reply-To: <20020626173848.46342.qmail@web14401.mail.yahoo.com> References: <20020626110835.L12722-100000@server.hermes-comp.zp.ua> <20020626173848.46342.qmail@web14401.mail.yahoo.com> X-Mailer: VM 7.03 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ie_qjzhu> Then, I add hostname="qjzhu.headsun.net" to /etc/rc.conf, ie_qjzhu> change /etc/hosts into ie_qjzhu> 127.0.0.1 localhost qjzhu.headsun.net ie_qjzhu> and in /etc/mail/sendmail.cf I add ie_qjzhu> Cwlocalhost qjzhu.headsun.net ie_qjzhu> Now root is UNABLE to send mail to qjzhu with 'mail' MUA, Make sure you restart the daemon after changing /etc/hosts. If that doesn't work, look at the output of: date | sendmail -v -d13.1,11.1,16.1 qjzhu If you can't find the solution in that output, send mail to sendmail-questions@sendmail.org describing the problem and include the output from the command above. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message