MailScanner hooks...

Philip L. Butler butler at GLOBESERVER.COM
Mon May 13 17:33:01 IST 2002


Hi all,

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.

The reason for this is for email logging and other processing that I do.

Alternatively, is there a way that I can call mailscanner (not in
daemon mode) to process emails one by one from my own scanning loop
??  I know that I can redefine the input/output queue and move a
single message into the mailscanner input queue and read it from the
output queue when finished.

I want to make the minimal (i.e. none) mods to mailscanner so that it
can be upgraded easily when Julian releases new versions.

Thanks,

Phil Butler



More information about the MailScanner mailing list