MailScanner hooks...

Julian Field jkf at
Mon May 13 18:13:45 IST 2002

At 17:33 13/05/2002, you wrote:
>I am new to mailscanner and am very interested in it's use.  One
>thing that I need to do for my application is to put in "hooks" so a
>script of mine is called before and another one after virus scanning,
>spamassasin, etc operations.

Take a look at the file "mailscanner" and you will see where it does all
the virus scanning. You should be able to insert your code above and below
that point. That file doesn't usually change much between versions so
upgrading to my latest code release shouldn't be a big job.
Julian Field                Teaching Systems Manager
jkf at         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ

More information about the MailScanner mailing list