Passing Arguments in CustomFunctions

davi at jvsinfo.com.br davi at jvsinfo.com.br
Sun Dec 3 14:03:01 GMT 2006


Dear list,

I am thinking about extending the capacities of the MailScanner in 
filtering e-mails and would like to use one CustomFunction instead of one 
ruleset. All called CustomFunction receives as argument $message, i whant 
to pass text parameter with this call like this:

Allow IFrame Tags = &RuleByUser('iframe')

Virus Scanners =  &RuleByUser('virusscanner')

Filename Rules = &RuleByUser('filename')

With this, a get one Function to process all requests, else i need 
FrameByUser, ScanByUser, FileNameByUser, allot functions, allot modules. 
Maybe this function return something from ldap server, sql server etc 
etc.....

any idea ??

Best regards,

Davi Baldin
JVS do Brasil - IBM BP Premier
davi at jvsinfo.com.br
(19) 3254-1266
(19) 9266-6793 ** NOVO **
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20061203/77b8d4fa/attachment.html


More information about the MailScanner mailing list