mailscanner 3.15-3 proc dies without error/warning - tied to
mailman?
Ryan Dlugosz
ryan at DLUGOSZ.NET
Tue May 21 14:49:37 IST 2002
Julian,
Thanks for the quick reply. Here's some more info for you. I am running
Perl v5.6.1 - I have verified that I've switched debugging back off and I
was able to immediately recreate my problem. I started mailscanner
directly from a console by running the script & I manually started the two
sendmail procs.
I received NO errors at all on the console, even when the Perl process
died. I sent a few emails back and forth which all worked just fine.
Then, I sent an email to "test at dlugosz.net", a test Mailman list which
only has two subscribers (myself and another remote account). The email
was scanned, passed to the Mailman wrapper script, then sent out again.
Now, each of the 2 emails (one for each address on the list) are scanned -
Boom - Perl process is gone, no errors. The mail sits in the mqueue.in
folder - They appear to have actually been scanned (they contain the
mailscanner headers), but MS appears to have died before it moved them
into the outgoing queue.
I've included the contents of my mail queues below, maybe you'll find them
interesting - this 0 length file always happens to show up after MS
dies... I can get you any other info that may help you out - just let me
know. If necessary, I can let you have root for a little while if I can't
get you the info you need.
Thanks,
Ryan
[root at deuce spool]# ls -lR mqueue*
mqueue:
total 0
mqueue.in:
total 0
[root at deuce spool]# ls -lR mqueue*
mqueue:
total 4
-rw------- 2 root root 198 May 21 09:32 dfg4LDW2k09209
-rw------- 1 root root 0 May 21 09:32 tfg4LDW2k09209
mqueue.in:
total 16
-rw------- 2 root root 198 May 21 09:32 dfg4LDW2k09209
-rw------- 1 root root 198 May 21 09:32 dfg4LDW2k09211
-rw------- 1 root root 1869 May 21 09:32 qfg4LDW2k09209
-rw------- 1 root root 1871 May 21 09:32 qfg4LDW2k09211
Julian Field said:
> If you run MailScanner with "Debug = 1" it will only do 1 pass of
> mqueue.in and then stop.
>
> As you are presumably normally running with "Debug = 0", check that the
> "check_mailscanner" script works okay for you (it should print out the
> PID if MailScanner is running, else it should start MailScanner up
> again).
>
> Also, start MailScanner (using check_mailscanner) from the command
> line, and leave that window open. You may get a Perl error message when
> it dies, which for one reason or another may not be logged into
> syslogd.
>
> Once you've got that error message out of it, I can investigate
> further.
>
> What version of Perl are you using (perl -v).
>
> Failing that, if you can give me login access to it (and the root pw)
> then I will take a look for you.
>
> At 13:16 21/05/2002, you wrote:
>>Hello,
>>
>>I'm new to mailscanner, but an experienced linux admin - I put in a
>>good 6 hours with mailscanner yesterday, but couldn't solve my problem
>>even after searching the list archives pretty extensively. Here's the
>>situation: I'm running RedHat 7.2 with all updates + most recent RPM of
>>mailscanner (3.15-3) on sendmail (8.11.6-3) with the latest Sophos
>>(3.57). I also use the GNU MailMan listserv software to support a
>>handfull of low-volume lists. The box doesn't receive too much email -
>>just the personal mail of a few users & the lists.
>>After installing MailScanner (and Sophos using the MS install script),
>>I fired it up & verified that I now had two independant sendmail procs
>>going - one listening & the other -q15m. I began tailing the maillog
>>and started firing test emails.
>>It worked great for a little while & then suddenly email stopped
>>moving! The mail was just building up in the mqueue.in folder & was no
>>longer being scanned or moved. This all seems to happen when a
>>message is received for the Mailman email list program & it attempts to
>>send out the messages. I strongly believe that something is going on
>>with the mailman - mailscanner interaction that is causing the Perl
>>script to die without warning.
>>I've posted an annotated log snippet on the web. Please take a minute
>>to look it over and let me know if you have any thoughts regarding my
>>problem.
>>http://dlugosz.net/~ryan/mailscanner_probs.html
>>
>>Thanks!
>>-Ryan
>>
>>--
>>Ryan Dlugosz
>>ryan at dlugosz.net
>>
>>http://dlugosz.net
>
> --
> Julian Field Teaching Systems Manager
> jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
> Tel. 023 8059 2817 University of Southampton
> Southampton SO17 1BJ
--
Ryan Dlugosz
ryan at dlugosz.net
http://dlugosz.net
More information about the MailScanner
mailing list