CustomFunctions Patch Proposal

Matt Hampton matt at
Fri Jun 8 20:46:48 IST 2007

davi at wrote:
> Hello list,
> I am developing a tool to configure polices for email with 
> MailScanner. This police are store in SQL or XML. I consider that an 
> alteration in the official code of the MailScanner is made to support 
> the sending of parameter *$name* of the configuration directive to the 
> custom function. Thus function would be possible inside of custom to 
> know which parameter is being searched and return the corresponding 
> value. In such a way, is not necessary to create a custom function for 
> each directive to use the XML police. What you think about ?
I submitted a similar patch to Jules a few weeks ago and it has been 
added to the 4.6x releases.


More information about the MailScanner mailing list