Spam Policy per user

Barry Bourdage BBourdage at
Mon Feb 27 18:37:58 GMT 2006

 I have helped with one to work with MailWatch, but if you had the
database defined, it would run without modifications.

Please e-mail me, if you would like the code.


-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Julian
Sent: Monday, February 27, 2006 11:55 AM
To: MailScanner discussion
Subject: Re: Spam Policy per user

Hash: SHA1

Matthias Sutter wrote:
> Hi,
> our mailscanner installation work very well but now we should 
> implement a function that the user have the option to change the Spam 
> properties/handling.
> For example there are 3 lists off users:
> the first - the user should get no Spam
Spam Actions = delete
High Scoring Spam Actions = delete
> the second - the user get no high score Spam and all others are marked

> in the subject line
Spam Actions = deliver
High Scoring Spam Actions = delete
> and the last and default - no Spam detection and filter is active.
Spam Actions = deliver
High Scoring Spam Actions = deliver

All you need to do is write a bit of support for some sort of backend
with a Custom Function for "Spam Actions" and "High Scoring Spam
Actions" to produce either the "deliver" or "delete" actions as

Once you have some sort of a DB backend to store the data in, this is
only a few lines of code to do the Custom Functions required.
No huge job.
> Can I build this scenario with mailscanner ?
> Thanks in advance
> Matthias

- --
Julian Field
Buy the MailScanner book at Professional
Support Services at MailScanner thanks transtec
Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

Version: PGP Desktop 9.0.5 (Build 5050)


This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list