Abort delivery of mail in customconfig.pm

Julian Field MailScanner at ecs.soton.ac.uk
Wed Mar 16 11:41:28 GMT 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. ]

Your best bet is to probably just set
$message->{deleted} = 1;
in your Custom Function.

And please accept my apologies for top-posting, I already know I am
going to rot in hell :-)

Kai Schaetzl wrote:

>Ramprasad A Padmanabhan wrote on         Wed, 16 Mar 2005 11:40:46 +0530:
>>Ok Can you tell me how to abort a mail in CustomConfig
>No, I'm not familiar with the inner programming of MS or CustomConfig.
>That's why I pointed to procmail. There is a Delete rule, I suppose you
>could just use a direct call to that function (whereever it hides) to
>terminate your processing.

Julian Field
MailScanner thanks transtec Computers for their support
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 MAQ (http://www.mailscanner.biz/maq/) 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