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=<[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Feb  6 17:00:03 ftp sm-mta[11197]: l17103eC011197:
from=<[EMAIL PROTECTED]>, size=367, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Feb  6 17:18:00 ftp sm-mta[11243]: l171I08q011243:
from=<[EMAIL PROTECTED]>, size=410, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP,
daemon=Daemon0, relay=localhost [127.0.0.1]
Feb  6 17:18:00 ftp sendmail[11242]: l171I0SO011242:
to=to:[EMAIL PROTECTED], 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 [EMAIL PROTECTED]: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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to