Question regarding whitelisting part of a domain

Mike Tremaine mgt at stellarcore.net
Sun May 5 01:25:48 IST 2013


I should add that there is more then 1 domain on the server. 

So I'm not sure this will work unless I also added each other domain... [I might have to try it that way but..]


##########3
Scan Messages = %rules-dir%/ScanMessages.rules

In your rules directory (usually MailScanner/etc/rules/)

Create a file with lines that look like:

To:	user1 at domain.com	yes
To:	user2 at domain.com	yes
FromOrTo: default       no

#######3

On May 3, 2013, at 6:51 PM, Mike Tremaine wrote:

> 
> This is a strange one and I'm not sure how to do it off the top of my head. I've got a domain that wants to try out mailscanner BUT they only want a few [6] addresses filtered. The rest they want to let through untouched. [Yes I know but it's a waste of oxygen to argue sometimes]. Without getting a full list of valid email addresses can anyone think of a clever way to whitelist the domain EXCEPT for the the 6. I don't think the rulesets allow for negation in the matching.... I also assume the biggest rule win so
> 
> To: thing1 at somedomain.com	no
> To: *@somedomain.com	 	yes
> 
> Would not work in the spam.whitelist.rules
> 
> -Mike Tremaine



More information about the MailScanner mailing list