Maximum Message Size, how do rules work?

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Sep 27 15:42:16 IST 2010


from=<user1 at domain.com> to=<user7 at domain.com>

On Wed, 22 Sep 2010 09:52:28 -0500, Jason Voorhees <jvoorhees1 at gmail.com>
wrote:

> From: user1 at domain.com 1M
> From: user2 at domain.com 2M
> From: user3 at domain.com 4M
> From: *@domain.com 512K
> To: *@domain.com 2M
> FromOrTo: default 0

So we get 1 hit on the sender user1 at domain.com and another one at the
recipient where users7 matches the wildcard.

So what happens with an extra line on top:
From: *@domain.com AND To: *@domain 1M

Rulesets should be handled based on the first hit.

Also make absolutely sure you did not past in any odd character. I prefer
to use tabs exclusevely in the rules files. But cutting and pasting may
convert tabs to spaces. So when in doubt make sure you type in the proper
lines to test with.

On first glance your file seems to match the documentantion on
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:readme

But looks can be rather deceitful.

Hugo.

-- 
hvdkooij at vanderkooij.org   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc



More information about the MailScanner mailing list