Correct format for allow.filename.conf

Peter Bonivart bonivart at
Sun Oct 7 14:02:27 IST 2012

On Sun, Oct 7, 2012 at 2:31 PM, Kai Schaetzl <maillists at> wrote:
> Glenn Steen wrote on Fri, 5 Oct 2012 17:23:16 +0200:
>> No, that looks wrong. Take a look at the overloading examples in the wiki,
>> to see what you'd need... Basically a ruleset that overload a "pure allow"
>> file for localhost...;-). Remember to do both name and type!
> So, something like this?
> From:  \.txt
> FromOrTo: default \.txt$ \.pdf$ \.bmp$ \.rel$ \.rels
> where txt files from localhost would be allowed. What about allowing all
> files from local? Does this look ok, then?
> From:  .*
> FromOrTo: default \.txt$ \.pdf$ \.bmp$ \.rel$ \.rels

Remember that rulesets decide on an option from MailScanner.conf. What
option is it you're trying to create a ruleset for? Let's start there.


More information about the MailScanner mailing list