mcr -

Alex Broens ms-list at alexb.ch
Tue Sep 30 17:18:18 IST 2008


On 9/30/2008 5:01 PM, ram wrote:
> I want to evaluate some spamassassin rules only when the mail is marked
> for some recipients 
> 
> Can I do this ? I dont mind changing a little bit of the src if that is
> required 

if "marked" means sent To some recipients:


With SA:

header __TO_TESTUSER  ToCC: =~ /(?:testuser1|testuser2)\@example\.com/
body	__STRING_TO_TEST  /catch me/

meta	TEST_RULE_TO_USERS12	(____TO_TESTUSER  && __STRING_TO_TEST)
score	TEST_RULE_TO_USERS12	1.0

is this what you are looking for?

Alex



More information about the MailScanner mailing list