Generic spam plug-in

Julian Field MailScanner at ecs.soton.ac.uk
Mon Jun 6 20:52:16 IST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adri Koppes wrote:

>>Hi,
>>
>>Adri Koppes schrieb:
>>    
>>
>>>I agree a function call might be more efficient, but since this is
>>>supposed to be a generic plug-in, I think we should always have to
>>>option to use a command line version and process the output via a
>>>pipe, exit code or temporary file.
>>>      
>>>
>>>Using a function call would make the generic plug-in less generic,
>>>since you can then only use it for external programs which have a
>>>perl interface!
>>>      
>>>
>>It is extreamly easy writing a very small perl function that does a
>>'system' call to execute a command line script.
>>
>>-- 
>>Felix
>>    
>>
>
>Sure it's not to difficult to do a 'system' call.
>It gets a little more complicated when you have to add timeouts, setting up the pipe, processing the output etc.
>I wouldn't have too many problems, but I think there are many people who are using MailScanner without having knowing how to write a perl script.
>  
>
I was going to do all the timeout stuff for you anyway. Even if it's a 
function call, it will still need a timeout wrapper. And I can probably 
come up with some example code that uses an external program for you.

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

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


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.1 (Build 2185)

iQA/AwUBQqSpcRH2WUcUFbZUEQJQRgCdGbFYr6puRcePB9tjwwvrIjtm3gwAn1cw
7U11ZC/tj1xwpXItjHdaQyDm
=8BJ0
-----END PGP SIGNATURE-----

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