From owner-freebsd-questions Thu Feb 13 17:51:30 2003 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 9189237B401 for ; Thu, 13 Feb 2003 17:51:29 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E273443F75 for ; Thu, 13 Feb 2003 17:51:27 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a125.otenet.gr [212.205.215.125]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h1E1pN4A011727; Fri, 14 Feb 2003 03:51:23 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h1E1pMqm003905; Fri, 14 Feb 2003 03:51:22 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h1E1pM6s003904; Fri, 14 Feb 2003 03:51:22 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 14 Feb 2003 03:51:22 +0200 From: Giorgos Keramidas To: Andrew Y Ng Cc: questions@FreeBSD.ORG Subject: Re: need some sendmail help Message-ID: <20030214015122.GA3806@gothmog.gr> References: <20030213202116.GA17725@AndrewNg.com> <20030213204847.GA4654@gothmog.gr> <20030214013811.GA25303@AndrewNg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030214013811.GA25303@AndrewNg.com> 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 On 2003-02-13 20:38, Andrew Y Ng wrote: > On 0, Giorgos Keramidas wrote: > > On 2003-02-13 15:21, Andrew Y Ng wrote: > > > this might seem stupid, but for some reasons on one of my servers > > > running freebsd -stable, mail just doesn't work, I keep seeing: > > > > > > Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn, > > > ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00, > > > mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0, > > > stat=Deferred: Connection refused by localhost.my.domain. > > > > - What sendmail_xxx_enable options have you turned on in /etc/rc.conf? > > ayn@NGBERT:/etc>grep sendmail rc.conf > sendmail_enable="YES" This is where the problem lies. You have only enabled mail submission through a network connection to port 25, but not submission of mail from local users. I suggest that you read at least /etc/mail/README and the rc.sendmail(8) manpage. Look at the description of sendmail_submit_enable in rc.sendmail(8) and in /etc/defaults/rc.conf. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message