4.50.4 restarts the child after each batch?
James Gray
james at grayonline.id.au
Thu Jan 5 10:58:09 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. ]
On Thu, 5 Jan 2006 18:32, Matt Hampton wrote:
> James Gray wrote:
> >Just installed 4.49.7 on my production gateways - all is well. They are
> >behaving as I expected them to.
>
> What happens when you run it in Debug mode in the foreground?
#/etc/init.d/mailscanner start
Starting MailScanner...
In Debugging mode, not forking...
Ignore errors about failing to find EOCD signature
Undefined subroutine &MailScanner::CustomConfig::MailWatchLogging called
at /opt/MailScanner/lib/MailScanner/Config.pm line 121.
and in /var/log/maillog:
21:47:52 ninja MailScanner[27164]: MailScanner E-Mail Virus Scanner version
4.50.4 starting...
21:47:53 ninja MailScanner[27164]: Read 695 hostnames from the phishing
whitelist
21:47:53 ninja MailScanner[27164]: Config: calling custom init function
MailWatchLogging
21:47:54 ninja MailScanner[27164]: Caching SpamAssassin results
21:47:54 ninja MailScanner[27164]: Connected to SpamAssassin cache database
21:47:55 ninja MailScanner[27164]: Enabling SpamAssassin auto-whitelist
functionality...
21:48:13 ninja MailScanner[27164]: lock.pl sees Config LockType = posix
21:48:13 ninja MailScanner[27164]: lock.pl sees have_module = 0
21:48:13 ninja MailScanner[27164]: Using locktype = posix
21:48:13 ninja MailScanner[27164]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
21:48:13 ninja MailScanner[27164]: New Batch: Scanning 2 messages, 2578
bytes
21:48:13 ninja MailScanner[27164]: Created attachment dirs for 2 messages
21:48:13 ninja MailScanner[27164]: MCP Checks completed at 2578 bytes per
second
21:48:13 ninja MailScanner[27164]: Spam Checks: Starting
21:48:13 ninja MailScanner[27164]: Message 1EuSdY-00073K-5O from 10.0.0.3
(mymail at example.com) is whitelisted
21:48:22 ninja MailScanner[27164]: SpamAssassin returned 0
21:48:22 ninja MailScanner[27164]: Message 1EuSdY-00073K-5O from 10.0.0.3
(mymail at example.com) to my-work.domain.com is not spam (whitelisted),
SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED
-3.30, BAYES_00 -2.60)
21:48:22 ninja MailScanner[27164]: Message 1EuSf3-00074K-2Y from 10.0.0.3
(mymail at example.com) is whitelisted
21:48:22 ninja MailScanner[27164]: Cache hit for message 1EuSf3-00074K-2Y
21:48:22 ninja MailScanner[27164]: Message 1EuSf3-00074K-2Y from 10.0.0.3
(mymail at example.com) to my-work.domain.com is not spam (whitelisted),
SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED
-3.30, BAYES_00 -2.60)
21:48:22 ninja MailScanner[27164]: Spam Checks completed at 286 bytes per
second
21:48:22 ninja MailScanner[27164]: Virus and Content Scanning: Starting
21:48:22 ninja MailScanner[27164]: Commencing scanning by mcafee...
21:48:25 ninja MailScanner[27164]: Completed scanning by mcafee
21:48:25 ninja MailScanner[27164]: Commencing scanning by clamavmodule...
21:48:25 ninja MailScanner[27164]: Completed scanning by clamavmodule
21:48:25 ninja MailScanner[27164]: Completed checking by /usr/bin/file
21:48:25 ninja MailScanner[27164]: Virus Scanning completed at 859 bytes
per second
21:48:25 ninja MailScanner[27164]: About to deliver 2 messages
21:48:25 ninja MailScanner[27164]: Uninfected: Delivered 2 messages
21:48:25 ninja MailScanner[27164]: Virus Processing completed at 2578 bytes
per second
21:48:26 ninja MailScanner[27164]: Disinfection completed at 2578 bytes per
second
21:48:26 ninja MailScanner[27164]: Batch completed at 198 bytes per second
(2578 / 13)
At this point the MailWatch loggin would kick in but it barfs when
MailScanner is in debug mode. So we don't actually get to see it killing
off the child and spawning a new one.... so we rinse and repeat WITHOUT
Mailwatch (notice the syntax error reported in maillog) :)
#/etc/init.d/mailscanner start
Starting MailScanner...
In Debugging mode, not forking...
Ignore errors about failing to find EOCD signature
Stopping now as you are debugging me.
/var/log/maillog:
21:52:29 ninja MailScanner[27369]: MailScanner E-Mail Virus Scanner version
4.50.4 starting...
21:52:30 ninja MailScanner[27369]: Syntax error in line 1964, value "" for
lastlookup is not one of allowed values "yes","no"
21:52:30 ninja MailScanner[27369]: Read 695 hostnames from the phishing
whitelist
21:52:32 ninja MailScanner[27369]: Caching SpamAssassin results
21:52:32 ninja MailScanner[27369]: Connected to SpamAssassin cache database
21:52:32 ninja MailScanner[27369]: Expired 2 records from the SpamAssassin
cache
21:52:32 ninja MailScanner[27369]: Enabling SpamAssassin auto-whitelist
functionality...
21:52:48 ninja MailScanner[27369]: lock.pl sees Config LockType = posix
21:52:48 ninja MailScanner[27369]: lock.pl sees have_module = 0
21:52:48 ninja MailScanner[27369]: Using locktype = posix
21:52:48 ninja MailScanner[27369]: Creating hardcoded struct_flock
subroutine for linux (Linux-type)
21:53:18 ninja MailScanner[27369]: New Batch: Scanning 1 messages, 1289
bytes
21:53:18 ninja MailScanner[27369]: Created attachment dirs for 1 messages
21:53:18 ninja MailScanner[27369]: MCP Checks completed at 1289 bytes per
second
21:53:18 ninja MailScanner[27369]: Spam Checks: Starting
21:53:18 ninja MailScanner[27369]: Message 1EuSk8-00077e-42 from 10.0.0.3
(mymail at example.com) is whitelisted
21:53:18 ninja MailScanner[27369]: Cache hit for message 1EuSk8-00077e-42
21:53:18 ninja MailScanner[27369]: Message 1EuSk8-00077e-42 from 10.0.0.3
(mymail at example.com) to my-work.domain.com is not spam (whitelisted),
SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED
-3.30, BAYES_00 -2.60)
21:53:18 ninja MailScanner[27369]: Spam Checks completed at 1289 bytes per
second
21:53:18 ninja MailScanner[27369]: Virus and Content Scanning: Starting
21:53:18 ninja MailScanner[27369]: Commencing scanning by mcafee...
21:53:20 ninja MailScanner[27369]: Completed scanning by mcafee
21:53:20 ninja MailScanner[27369]: Commencing scanning by clamavmodule...
21:53:21 ninja MailScanner[27369]: Completed scanning by clamavmodule
21:53:21 ninja MailScanner[27369]: Completed checking by /usr/bin/file
21:53:21 ninja MailScanner[27369]: Virus Scanning completed at 429 bytes per
second
21:53:21 ninja MailScanner[27369]: About to deliver 1 messages
21:53:21 ninja MailScanner[27369]: Uninfected: Delivered 1 messages
21:53:21 ninja MailScanner[27369]: Virus Processing completed at 1289 bytes
per second
21:53:21 ninja MailScanner[27369]: Disinfection completed at 1289 bytes per
second
21:53:21 ninja MailScanner[27369]: Batch completed at 429 bytes per second
(1289 / 3)
21:53:21 ninja MailScanner[27369]: MailScanner child dying of old age
Cheers,
James
--
Lookie, lookie, here comes cookie...
-- Stephen Sondheim
------------------------ 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