Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 17:31:15 -0800 
From:      Doug Sampson <dougs@dawnsign.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   newaliases not working?
Message-ID:  <9DE6EC5B5CF8C84281AE3D7454376A0D0138F1@cetus.dawnsign.com>

next in thread | raw e-mail | index | archive | help
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=<root@ftp.dawnsign.com>, 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)
Feb  6 17:00:04 ftp sm-mta[11199]: l17103eC011197:
to=<root@ftp.dawnsign.com>, 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=<root@ftp.dawnsign.com>, 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=<admin(at)dawnsign.com>, 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:
<snip>
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
<snip>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9DE6EC5B5CF8C84281AE3D7454376A0D0138F1>