Out of curiosity, is there a reason to do this in SA vs. at the MTA, firewall, etc?

-faisal
-used to work with a Hatfield and is friends with a McCoy

On Apr 24, 2007, at 12:33 AM, John Schmerold wrote:

SA is protecting 20 domains from evil, I want to keep 2 domains from
communicating with one another, I believe local.cf can help resolve
this for me, if I can figure out how to do:

score    LOCAL__H_M  50.00
header   LOCAL__H_M     From =~ /hatfield\.com/i .and.
header   LOCAL__H_M     To =~ /mccoy\.com/i
describe LOCAL__H_M     Hatfield to McCoy

score    LOCAL__M_H  50.00
header   LOCAL__M_H    From =~ /mccoy\.com/i .and.
header   LOCAL__M_H     To =~ /hatfield\.com/i
describe LOCAL__M_H     McCoy to Hatfield

So, this newbie has 2 questions:
1. Can this be done
2. How to do it - I suspect the answer lies in the stack of regex
information I've been staring at, but can figure out

TIA

Reply via email to