IPBlock question

Julian Field mailscanner at ecs.soton.ac.uk
Thu Aug 26 16:53:39 IST 2004

At 16:28 26/08/2004, you wrote:
>Hello Julian,
>I use IPBlock and like it a lot.  I would like to be warned when a host is
>We have setup syslog to send us every hour all critical messages.  I
>looked into MS but it does not want to issue "crit" syslog messages.
>I tried the following modification to the IPBlock code:
>    MailScanner::Log::InfoLog("IPBlock: Adding block for %s", $ip);
>    # Added DB 20040826
>    MailScanner::Log::LogText("IPBlock: Adding block for $ip", 'crit');
>Do you believe this will work?  I restarted MS and got no error message
>but I was not sure if it would also log the message as critical.

That should work just fine. The only difference will be that the message
will not be output on STDERR as well.

>Thanks again for saving our users from the bad guys!

No worries :-)
Julian Field
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

More information about the MailScanner mailing list