From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 18:44:55 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 D15DC16A402 for ; Wed, 7 Feb 2007 18:44:55 +0000 (UTC) (envelope-from dougs@dawnsign.com) Received: from cetus.dawnsign.com (myrouter.dawnsign.com [216.70.250.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C00313C441 for ; Wed, 7 Feb 2007 18:44:55 +0000 (UTC) (envelope-from dougs@dawnsign.com) Received: by cetus.dawnsign.com with Internet Mail Service (5.5.2657.72) id <1PXZB63K>; Wed, 7 Feb 2007 10:45:05 -0800 Message-ID: <9DE6EC5B5CF8C84281AE3D7454376A0D0138F2@cetus.dawnsign.com> From: Doug Sampson To: 'Dan Busarow' Date: Wed, 7 Feb 2007 10:29:14 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain 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 18:44:55 -0000 > > 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. > # Pretty much everything else in this file points to "root", so # you would do well in either reading root's mailbox or forwarding # root's email from here. root: admin(at)dawnsign.com <<<<<<<<<<<<<<<< replaced @ sign with (at) <<<<<<<<<<<<<<<< to prevent spamming # Basic system aliases -- these MUST be present MAILER-DAEMON: postmaster postmaster: root # General redirections for pseudo accounts _dhcp: root _pflogd: root bin: root bind: root daemon: root games: root kmem: root mailnull: postmaster man: root news: root nobody: root operator: root pop: root proxy: root smmsp: postmaster sshd: root system: root toor: root tty: root usenet: news uucp: root Oh, and I noticed that I had been typing mail to:root instead of mail root at the command prompt. Thus that would explain why in the logs yesterday we were seeing to=to:root. This morning, I tried again with the mail command and here's the outout from the maillog: Feb 7 10:18:43 ftp sendmail[13901]: l17IIhhO013901: from=root, size=46, class=0, nrcpts=1, msgid=<200702071818.l17IIhhO013901@ftp.dawnsign.com>, relay=root@localhost Feb 7 10:18:43 ftp sm-mta[13902]: l17IIh7l013902: from=, size=372, class=0, nrcpts=1, msgid=<200702071818.l17IIhhO013901@ftp.dawnsign.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Feb 7 10:18:43 ftp sendmail[13901]: l17IIhhO013901: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l17IIh7l013902 Message accepted for delivery) Feb 7 10:18:44 ftp sm-mta[13904]: l17IIh7l013902: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30372, relay=mercury.dawnsign.com. [192.168.1.4], dsn=2.0.0, stat=Sent (OK) As you can see, there appears mail sent to root still goes to root(at)ftp.dawnsign.com.... Um? ~Doug