(High) Spam Actions

Matt Hampton matt at CODERS.CO.UK
Tue Jul 12 12:26:55 IST 2005

    [ 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. ]


MailScanner -V extract:
Linux xxxxx.com 2.4.27-0.3um #1 Thu Sep 2 11:39:16 GMT 2004 i686 i686 
i386 GNU/Linux

This is Fedora Core release 2 (Tettnang)
This is Perl version 5.008003 (5.8.3)
This is MailScanner version 4.42.9

I am following through the examples in CustomConfig.pm and trying to use 
  the "InternalAction" examples to replace the (High) Spam Actions.

I have written some replace modules (included in the CustomConfig.pm) 
and the InitXXX and EndXXX are working fine and are being called as 
appropriate. However when the call to the actual function XXX is called 
MailScanner bombs out and a new child is spawned (endless loop scenario!)


1. sub XXX {
2.   my($message) = @_;
3.   MailScanner::Log::InfoLog("returning deliver for %s",
4.  return 'deliver';
5. }

I have tried commenting out lines 2 and 3 but this doesn't seem to make 
any difference.

Any ideas?



------------------------ 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