From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 02:39:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBC7B16A400 for ; Wed, 7 Feb 2007 02:39:20 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from ns.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id A2C9013C47E for ; Wed, 7 Feb 2007 02:39:20 +0000 (UTC) (envelope-from dan@dpcsys.com) Received: from [192.168.1.228] (busarow.beach.net [69.51.81.91] (may be forged)) by ns.beach.net (8.13.7/8.13.7) with ESMTP id l17251wq082366; Tue, 6 Feb 2007 18:05:01 -0800 (PST) In-Reply-To: <9DE6EC5B5CF8C84281AE3D7454376A0D0138F1@cetus.dawnsign.com> References: <9DE6EC5B5CF8C84281AE3D7454376A0D0138F1@cetus.dawnsign.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <475C9E69-9952-4A41-B0F4-8A6936CB2216@dpcsys.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Tue, 6 Feb 2007 19:04:53 -0700 To: Doug Sampson X-Mailer: Apple Mail (2.752.2) Cc: "'freebsd-questions@freebsd.org'" Subject: Re: newaliases not working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 02:39:21 -0000 On Feb 6, 2007, at 6:31 PM, Doug Sampson wrote: > I'm having trouble getting the periodic reports sent out on a daily > basis > from a FreeBSD 6.2 server. I've changed the /etc/aliases file so > that root > points to an administrative mail address. But for some reason it > doesn't get > translated to the admin email address. I've run the 'newaliases' > several > times to no avail. > > Mail log below. The first four lines are a result of running 'periodic > daily'. The last four lines is when I address a mail directly to > admin(at)dawnsign.com (the @ sign has been changed to protect it). > > Feb 6 17:00:03 ftp sendmail[11196]: l17103fh011196: from=root, > size=38, > class=0, nrcpts=1, > msgid=<200702070100.l17103fh011196@ftp.dawnsign.com>, > relay=root@localhost > Feb 6 17:00:03 ftp sm-mta[11197]: l17103eC011197: > from=, size=367, class=0, nrcpts=1, > msgid=<200702070100.l17103fh011196@ftp.dawnsign.com>, proto=ESMTP, > daemon=Daemon0, relay=localhost [127.0.0.1] > Feb 6 17:00:03 ftp sendmail[11196]: l17103fh011196: to=to:root, > ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, > pri=30038, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent > (l17103eC011197 Message accepted for delivery) Looks like you have a bad entry in /etc/mail/aliases This to=to:root, should look like to=dougs Post the relevant lines from your aliases file. Dan > Feb 6 17:00:04 ftp sm-mta[11199]: l17103eC011197: > to=, delay=00:00:01, xdelay=00:00:01, > mailer=esmtp, > pri=30367, relay=mercury.dawnsign.com. [192.168.1.4], dsn=2.0.0, > stat=Sent > (OK) > Feb 6 17:18:00 ftp sendmail[11242]: l171I0SO011242: from=root, > size=84, > class=0, nrcpts=1, > msgid=<200702070118.l171I0SO011242@ftp.dawnsign.com>, > relay=root@localhost > Feb 6 17:18:00 ftp sm-mta[11243]: l171I08q011243: > from=, size=410, class=0, nrcpts=1, > msgid=<200702070118.l171I0SO011242@ftp.dawnsign.com>, proto=ESMTP, > daemon=Daemon0, relay=localhost [127.0.0.1] > Feb 6 17:18:00 ftp sendmail[11242]: l171I0SO011242: > to=to:dougs@dawnsign.com, ctladdr=root (0/0), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=30084, relay=[127.0.0.1] > [127.0.0.1], > dsn=2.0.0, stat=Sent (l171I08q011243 Message accepted for delivery) > Feb 6 17:18:01 ftp sm-mta[11245]: l171I08q011243: > to=, delay=00:00:01, xdelay=00:00:01, > mailer=esmtp, > pri=30410, relay=mercury.dawnsign.com. [192.168.1.4], dsn=2.0.0, > stat=Sent > (OK) > > ps ax shows that sendmail is running as follows: > > 11136 ?? Ss 0:00.08 sendmail: accepting connections (sendmail) > 11137 ?? Is 0:00.01 sendmail: Queue runner@00:30:00 for > /var/spool/clientmqueue (sendmail) > 11170 ?? Is 0:00.01 /usr/sbin/inetd -wW > > > I used to receive these daily & security run output messages until > the day I > installed vsftpd using inetd. > > There are no mail in any outbound mail queues. > > What could I be doing wrong? > > ~Doug