Generic spam plug-in

Adri Koppes adrik at SALESMANAGER.NL
Mon Jun 6 08:58:30 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,
> 
> 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.

Adri.

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