4.50.4 restarts the child after each batch?
James Gray
james at grayonline.id.au
Thu Jan 5 02:49:25 GMT 2006
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Just installed 4.49.7 on my production gateways - all is well. They are
behaving as I expected them to.
However, I've installed the latest beta (4.50.4 from the tar ball) on my test
machine (system is an Exim 4.50-8 box running on Debian Sarge, with
MailWatch) and noticed it now restarts the child after every batch:
...
MailScanner[12542]: New Batch: Scanning 1 messages, 5532 bytes
MailScanner[12542]: MCP Checks completed at 5532 bytes per second
MailScanner[12542]: Spam Checks: Starting
MailScanner[12542]: Message 1EuKE6-0003GA-4z from 82.211.81.173
(foo at example.com) to mydomain.com is not spam, SpamAssassin (score=-30.253,
required 5, AWL 0.36, BAYES_00 -2.60, BODY_GAPPY_TEXT 1.92, LISTID_UBUNTU_USR
-15.00, RCVD_BY_IP 0.07, TO_UBUNTU_LIST -15.00)
MailScanner[12542]: Spam Checks completed at 790 bytes per second
MailScanner[12542]: Virus and Content Scanning: Starting
MailScanner[12542]: Virus Scanning completed at 1383 bytes per second
MailScanner[12542]: Uninfected: Delivered 1 messages
MailScanner[12542]: Virus Processing completed at 5532 bytes per second
MailScanner[12542]: Disinfection completed at 5532 bytes per second
MailScanner[12542]: Batch completed at 502 bytes per second (5532 / 11)
MailScanner[12555]: MailScanner E-Mail Virus Scanner version 4.50.4
starting...
MailScanner[12555]: Read 695 hostnames from the phishing whitelist
MailScanner[12555]: Config: calling custom init function MailWatchLogging
MailScanner[12555]: Caching SpamAssassin results
MailScanner[12555]: Connected to SpamAssassin cache database
MailScanner[12555]: Enabling SpamAssassin auto-whitelist functionality...
MailScanner[12555]: Using locktype = posix
MailScanner[12555]: Creating hardcoded struct_flock subroutine for linux
(Linux-type)
...
Notice the new PID? This box only runs a single child process and this
behaviour is new since 4.50.4 was installed an hour or so ago.
Here's some more diagnostic fru for your reading pleasure:
#uname -a
Linux ninja 2.4.27-2-686 #1 Wed Aug 17 10:34:09 UTC 2005 i686 GNU/Linux
#ps -ef | grep MailScanner
109 12267 1 0 12:35 ? 00:00:00 MailScanner: starting child
109 12642 12267 4 12:51 ? 00:00:14 MailScanner: waiting for messages
(109 is a valid UID = Debian-exim...no idea why ps wont show it. Also between
teh log dump above and the execution of "ps" the child PID changed...again)
# /opt/MailScanner/bin/MailScanner --version
Running on
Linux ninja 2.4.27-2-686 #1 Wed Aug 17 10:34:09 UTC 2005 i686 GNU/Linux
This is Perl version 5.008004 (5.8.4)
This is MailScanner version 4.50.4
Module versions are:
1.00 AnyDBM_File
1.14 Archive::Zip
1.02 Carp
1.119 Convert::BinHex
1.00 DirHandle
1.05 Fcntl
2.72 File::Basename
2.07 File::Copy
2.01 FileHandle
1.06 File::Path
0.16 File::Temp
1.29 HTML::Entities
3.45 HTML::Parser
2.30 HTML::TokeParser
1.21 IO
1.10 IO::File
1.123 IO::Pipe
1.50 Mail::Header
3.05 MIME::Base64
5.417 MIME::Decoder
5.417 MIME::Decoder::UU
5.417 MIME::Head
5.417 MIME::Parser
3.03 MIME::QuotedPrint
5.417 MIME::Tools
0.10 Net::CIDR
1.08 POSIX
1.77 Socket
0.05 Sys::Syslog
1.02 Time::localtime
Optional module versions are:
0.17 Convert::TNEF
1.808 DB_File
1.06 Digest
1.01 Digest::HMAC
2.33 Digest::MD5
2.10 Digest::SHA1
0.44 Inline
0.17 Mail::ClamAV
3.000004 Mail::SpamAssassin
1.997 Mail::SPF::Query
0.15 Net::CIDR::Lite
0.48 Net::DNS
0.32 Net::LDAP
1.94 Parse::RecDescent
missing SAVI
1.4 Sys::Hostname::Long
2.40 Test::Harness
0.47 Test::Simple
1.95 Text::Balanced
1.35 URI
Thanks for any help.
James
--
When we talk of tomorrow, the gods laugh.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list