Generic spam plug-in

Dhawal Doshy dhawal at NETMAGICSOLUTIONS.COM
Sat Jun 4 21:03:23 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. ]

Hi,

Julian Field wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> If I write you folks a generic way of adding in a spam-processing 
> plugin, how would you like it to work?
> A command-line or a function call?
> How do you want the envelope data? (client ip, sender, recipients)
> 
> Returns a spam yes/no flag, or a score to add to SpamAssassin?
> Or a yes/no flag with a configurable score in MailScanner.conf?
> 
> How do you actually want this interface to work?
> 

Command lines sound easier compared to functions for a non-programmer 
like me.

My opinion (which mostly doesn't count) being that since most 3rd party 
engines would either use a yes/no combination OR a number OR a %age, the 
generic plugin ought to use a generic input method. Though that could 
complicate matters and code exponentially.

Situation one (as already proposed by Julian)
=============
The 3rd party engine outputs SPAM / NOTSPAM, in which case use the 
following flags
a. NO (surely not spam)
b. YES (surely spam)
c. SKIPPED (if no output is found)

Situation two
=============
The 3rd party engine outputs a %age or a number (say -100 to +100) then 
the input filter will watch for a number and based on that give the 
following flag
a. NO (surely not spam)
b. MOSTLY_NO (mostly not spam)
c. MOSTLY_YES (probably spam)
d. YES (surely spam)
e. SKIPPED (if no number is found)

Flag Action: (again as recommended by Julian)
The above flags NO,(MOSTLY_NO),(MOSTLY_YES),YES,SKIPPED with a 
configurable score in MailScanner.conf seem most flexible to me.

regards,
- dhawal

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