URGENT: MailScanner quick test please

James Gray james at grayonline.id.au
Mon Jul 31 23:46:37 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julian Field wrote:
> Please can you edit /usr/sbin/MailScanner and change line 525 to
> $SIG{'HUP'} = 'ReloadParent';
> It previously said that but with an "if" condition on the end of the line.
> 
> Not sure how that bug crept in, and I want to check it really is a bug
> and that this fixes it.
> 
> Once you have changed the code and restarted MailScanner, please try
> 
> 	tail -f /var/log/maillog | grep Mail &
> 	service MailScanner reload
> 
> As soon as you do the reload, you should see a string of messages from
> the child processes saying that they caught a signal, and are restarting
> themselves.
> 
> Please can you quickly try this, today, and report your experiences.
> 
> Thanks folks!

Here's the OSX 10.4.7 (Intel) results:

jester:/opt/MailScanner/bin root# ps aux|grep MailScanner
root     25237   1.0  0.0    26300    320  p5  R+    9:44AM   0:00.00
grep MailScanner
postfix  25062   0.0  0.0    41388    324  ??  Ss    9:38AM   0:00.00
MailScanner: master waiting for children, sleeping
postfix  25063   0.0  1.6   110120  32552  ??  S     9:38AM   0:04.41
MailScanner: waiting for messages
jester:/opt/MailScanner/bin root# kill -HUP 25062


Aug  1 09:44:40 jester MailScanner[25063]: MailScanner child caught a
SIGHUP\n
Aug  1 09:44:40 jester MailScanner[25063]: Config: calling custom end
function SQLBlacklist\n
Aug  1 09:44:40 jester MailScanner[25063]: Closing down by-domain spam
blacklist\n
Aug  1 09:44:40 jester MailScanner[25063]: Config: calling custom end
function MailWatchLogging\n
Aug  1 09:44:40 jester MailScanner[25063]: Config: calling custom end
function SQLWhitelist\n
Aug  1 09:44:40 jester MailScanner[25063]: Closing down by-domain spam
whitelist\n
Aug  1 09:44:43 jester MailScanner[25238]: MailScanner E-Mail Virus
Scanner version 4.55.8 starting...\n

Just like a bought one :)

Cheers,

James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEzpZdwBHpdJO7b9ERAujJAKCM0jmf3Fs7TZaaRRRzmR3iOF4jmwCcC6zd
MXN5uh+ZnTXMB9OToLRnP2E=
=0H/d
-----END PGP SIGNATURE-----



More information about the MailScanner-Beta mailing list