(High) Spam Actions
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Jul 12 14:00:43 IST 2005
Check the syntax with perl -c for starters.
Also put MailScanner into Debug mode and run 1 batch through it.
On 12 Jul 2005, at 12:26, Matt Hampton wrote:
> Hi
>
> 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!)
>
> code:
>
> 1. sub XXX {
> 2. my($message) = @_;
> 3. MailScanner::Log::InfoLog("returning deliver for %s",
> $message->{fromdomain});
> 4. return 'deliver';
> 5. }
>
> I have tried commenting out lines 2 and 3 but this doesn't seem to
> make any difference.
>
> Any ideas?
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
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 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