Re: sendmail 8.12 mail queue log
On Tue, 18 Dec 2001, nate wrote:
> ever since sendmail 8.12.1 came out(or at least since
> i installed it) i no longer get remote queue information.
Eh? how are you looking for the information ?
> in older sendmails i used to get in the mail logs which
> server sendmail relayed to to deliver the message so i
> could verify it was accepted by the _remote_ server.
You mean like this?
Dec 17 16:34:29 badlands sm-mta[6353]: fBHLYQMh006353:
from=<cowboy@debian.org>, size=1220, class=0, nrcpts=1,
msgid=<Pine.LNX.4.43.0112171633090.28605-100000@badlands.lexington.ibm.com>,
proto=ESMTP, daemon=MTA-v6, relay=localhost [127.0.0.1]
Dec 17 16:34:29 badlands sm-mta[6353]: fBHLYQMh006353:
to=<remote user>, delay=00:00:00, mailer=relay, pri=30480,
stat=queued
Dec 17 16:36:27 badlands sm-mta[6450]: fBHLYQMh006353:
to=<remote user>, delay=00:01:58, xdelay=00:00:11, mailer=relay,
pri=120480, relay=southrelay02.raleigh.ibm.com. [9.37.3.209], dsn=2.0.0,
stat=Sent (fBHLaQX41644 Message accepted for delivery)
> now all i get is it logging it relayed to the localhost
> queue agent and it was accepted by that localhost relay
> but says nothing about logging that the _remote_ host
> accepted the message or not. i can check the mail
> queue but i want this info logged to syslog like the
> rest of the mail logs.
With 8.12+, there are more than one possible name for the daemon - with
sm-msp and sm-mta being the two most common, followed closely by
sendmail (though after install spamassassin and setting up spamc/spamd,
spamd rates right up there with sm-mta !)
Depending upon how the mail is injected into the system, one or both
of sm-msp and sm-mta may handle the same email, and they *will* have
differing pids (sm-mta may even touch the mail several times - once per
delivery attempt)! Once you have an item you're interested in, you'll
need to scan the mail log for the message id (ie: fBHLYQMh006353 in
the above example)
> any ideas on how to enable this functionality?
> i plan to move to sendmail 8.12.1 for PerlMX and
> libmilter soon...
I'll bet you just need to adjust the way you're looking for the message!
> thanks
HTH, if not, email for further info
--
Rick Nelson
Reply to: