Specific From and To check rule

Alex Neuman van der Hans alex at nkpanama.com
Tue Aug 15 21:43:35 IST 2006


Feasey, Nicholas wrote:
> Forgive me if this has been discussed before...
> 
> Is there a simple method in which MailScanner can be told to check the
>>From and the To address and, if it's from the same person, reject it.
> 
> I want to stop those messages that state:
> 
> From:  <someuser>@<somedomain.com>
> To:    <someuser>@<somedomain.com>
> 
> ...which are really annoying.
> 
> N
Create a ruleset:
in %rules-dir%/spam.blacklist.rules

FromOrTo:	default		no
From:user1 at domain.com	and	To:user1 at domain.com	yes
...
...
...
From:user99 at domain.com	and	To:user99 at domain.com	yes

Sounds silly, and resource-wasteful, but it should get the job done, I 
think.


More information about the MailScanner mailing list