filename & filetype with CustomFunctions
MailScanner at ecs.soton.ac.uk
Tue Feb 9 08:33:08 GMT 2010
The "Filename Rules" setting in MailScanner.conf takes a filename, so
that is what your Custom Function must produce. Very straightforward.
What you may find more helpful is to use the "Allow Filenames", "Deny
Filenames" and so on settings with a Custom Function instead, as they
would allow your Custom Function to produce lists of filename patterns
that you want to allow or deny.
Hope that helps,
On 08/02/2010 19:05, Eduardo Casarero wrote:
> I'm playing with some custom functions and the filename rulset. Is
> posible to use custom functions here? what should be the return string
> when the to_address pattern match. I was doing some test, but sending
> for example "allow *. - - -" didn't work, although that string in a
> filename.rules work ok.
> any help would be appreciated.
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner