[olug] sendmail help again (ugh)

Ryan Stille ryan at cfwebtools.com
Tue Mar 11 20:03:43 UTC 2008


> Nothing?  Do you even have a mail log?  In /etc/syslog.conf, make
> sure you have something like:
> 	mail.*    -/var/log/maillog
> or
> 	mail.debug    -/var/log/maillog
> If you have to change syslog.conf, make sure you touch the log file
> and then kill -HUP the PID for syslogd.  Then flush your sendmail
> queue again with the above command (or Dave's version with -v).
>
> If this is a high-volume mail server, you'll want to change syslog's
> "*" or "debug" back to "info" after you fix the problem.
>
>   


Yes there is definitely a mail log. :)  When I relay a message through 
it now it shows up in the maillog.  But running those commands produced 
no additional output to the terminal or the log file.

> Do you have anything in /var/spool/mqueue?  That's where queued
> messages are kept.  If it's empty, then webmin is lying to you
> about there being any queued messages.  Try stopping & restarting
> sendmail, and check the logs afterward.

Yes, there are messages in the mqueue.  One of the messages shown in 
Webmin as "Sending" is message qfm2BH3dvI001112.  

And there are these matching files in the mqueue directory:
dfm2BH3dvI001112
qfm2BH3dvI001112

The contents of those files looks really funny to me though... but I 
don't know what they are supposed to contain.  Here is the qfm file for 
example:

V8
T1205255019
K0
N0
P390569
Fbs
$_[10.0.0.6]
$rESMTP
$sMUSEDSKTP
${daemon_flags}
${if_addr}10.0.0.199
S<mkruger at cfwebtools.com>
rRFC822; jason at cfwebtools.com
RPFD:<jason at cfwebtools.com>
H?P?Return-Path: <<81>g>
H??Received: from MUSEDSKTP ([10.0.0.6])
        by ns1.cfwebtools.com (8.13.1/8.13.1) with ESMTP id m2BH3dvI001112
        for <jason at cfwebtools.com>; Tue, 11 Mar 2008 12:03:39 -0500
H??From: "Mark Kruger" <mkruger at cfwebtools.com>
H??To: <jason at cfwebtools.com>
H??Subject: FW: Estimate for JMG...
H??Date: Tue, 11 Mar 2008 12:04:39 -0500
H??Message-ID: <073d01c88399$fe0933b0$3400000a at MUSEDSKTP>
H??MIME-Version: 1.0
H??Content-Type: multipart/mixed;
        boundary="----=_NextPart_000_073E_01C88370.15332BB0"
H??X-Mailer: Microsoft Office Outlook 11
H??Thread-Index: AciDI6CUo5cosYBUQ7CFoCjmOKr2fgAbsCPAAAHlLPA=
H??X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

When I grep the mail log for 2BH3dvI001112 this is what I get:
Mar 11 12:03:39 ns1 sendmail[1112]: m2BH3dvI001112: 
from=<mkruger at cfwebtools.com>, size=360569, class=0, nrcpts=1, 
msgid=<073d01c88399$fe0933b0$3400000a at MUSEDSKTP>, proto=ESMTP, 
daemon=MTA, relay=[10.0.0.6]
Mar 11 12:03:39 ns1 sendmail[1112]: m2BH3dvI001112: 
to=<jason at cfwebtools.com>, delay=00:00:00, mailer=smtp, pri=390569, 
stat=queued

Those are the only entires for that message!  Shouldn't it have tried to 
deliver it right away, or at least by now?

I've restarted sendmail many times today.  And I've doubled checked the 
MX, and what Server1 thinks is the MX, and that it can reach that server 
(server2), etc.

Thanks for the help.
-Ryan





More information about the OLUG mailing list