Operating System - HP-UX
1830899 Members
2771 Online
110017 Solutions
New Discussion

mail.log not showing messages

 
SOLVED
Go to solution
MikeL_4
Super Advisor

mail.log not showing messages

I have two servers but supposedly set up the same but on one server all the mail messages are not being recorded in mail.log. The sendmail.cf file on both has loglevel=9 in the
config file, and both have the same entries in the syslog.conf file:
# See syslogd(1M) for information about the format of this file. #
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *

But server 1's mail.log does not show good mail messages that have been sent and/or received like it does on server 2.

Server 1 mail.log sample:
Jul 15 12:58:35 uxas01 sendmail[21401]: OAA07892: to=bsanders@hughes.net, delay=22:48:39, mailer=esmtp, relay=hughes.net, stat=Transient parse error -- message queued for future delivery Jul 15 12:58:35 uxas01 sendmail[21401]: OAA13352: to=JENNIFER@MOUNTKARE.ORG, delay=22:41:26, mailer=esmtp, relay=mountkare.org, stat=Transient parse error -- message queued for future delivery Jul 15 12:58:35 uxas01 sendmail[21401]: OAA13352: to=bsanders@hughes.net, delay=22:41:26, mailer=esmtp, relay=hughes.net, stat=Transient parse error -- message queued for future delivery

Server 2's mail.log sample:
Jul 15 13:02:20 uxas02 sendmail[22488]: NAA22488: from=uml008, size=404, class=0, pri=30404, nrcpts=1, msgid=<200307151702.NAA22488@uxas02.usa1.tupnet.com>, relay=root@localhost Jul 15 13:02:26 uxas02 sendmail[22494]: NAA22488: to=michaellense@tupperware.com, ctladdr=uml008 (10090/20), delay=00:00:08, xdelay=00:00:06, mailer=esmtp, relay=maila01.tupperware.com. [159.234.2.31], stat=Sent (maila01.tupperware.com: Message accepted for delivery)

Whant am I not seeing to get these messages to be logged. Problem was found wen a client was complaining about not receiving mail...

Thanks
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: mail.log not showing messages

1) Manually check that the DS directive is the same in sendmail.cf

2) Run this diagnostic test and see what happens:

sendmail -v -d8.99 -d38.99 someone@yahoo.com

Type some text just like this


.


This will get you full diagnostics.

What to look for on the server giving you trouble is, does it actually log onto the smtp relay server. Is the mail accepted or rejected.

It is quite common for the admin on those relay servers to authorize relay one IP address at a thime. Server1 may simply not be authorized for relay.

3) Check that the sendmail deamon is actually running.

4) Report test results here for further help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stuart Abramson_2
Honored Contributor
Solution

Re: mail.log not showing messages

Unless I'm mistaken both servers are logging email transactions. The problem seems to be that server 1 has an error parsing addresses and can't send out any emails.

Your "sendmail.cf" probably has an error in it. If you want directions for setting up sendmail.cf, let me know.

Oh, well, I'll attach them right now.

Stuart