adam lanier wrote:
On Wed, 2007-04-04 at 00:37 +1000, Pete Russell wrote:
How do i write a rule that says;

if mail is recieved from parent company email gateway/s AND the from address is not from the parent company domain THEN give XX score.

Something like?


header __GATEWAY_RELAY  Received =~ /\[111\.222\.333\]/
so in this line the ip address is only the 1st 3 sections. Will it match anything in the 4th? eg 111.222.333.xxx?

header__NOT_PAR_DOMAIN  From =! /[EMAIL PROTECTED]/i
I know . are important in regexp, the domain is .com.au can i just change the above line to /[EMAIL PROTECTED]/i

meta SPAM_FROM_RELAY    __GATEWAY_RELAY && __NOT_PAR_DOMAIN
and score SPAM_FROM_RELAY 5 ?




many thanks for taking the time to response in that much detail for me.
Regards
Pete

Reply via email to