Is -1 value in max.attachment.size.rules acceptable?

Julian Field MailScanner at
Sun Jan 25 19:57:23 GMT 2009

On 25/1/09 18:42, Ed Ewing wrote:
> Hello all,
> Will someone confirm if using "FromOrTo: default  -1" in 
> max.attachment.size.rules is an acceptable value?
According to my docs in MailScanner.conf it is acceptable. Have you 
tried it?
> Have set limits for some domains and want the default to be no limit. 
> Tried using "Maximum Attachment Size = 0" similar to the directive in 
> max.message.size.rules (Maximum Message Size = 0) but MS gives a 
> syntax error on reload.
According to the docs, that will set a maximum size limit of zero bytes. 
Don't apply the docs from 1 setting to a different setting. That's why 
there are docs for each setting...
> Thank you.


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

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

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list