[PLUG] regex help requested

Roderick A. Anderson raanders at acm.org
Tue Nov 19 18:03:18 UTC 2002


On Tue, 19 Nov 2002, Rich Shepard wrote:

>   There's a domain, mail.com, that's infested with spammers. But, if I put
> in a postfix filter, /mail\.com/	REJECT, in the header_checks file,
> then domains such as hotmail.com are also rejected. Not a bad idea, but not
> practical, unfortunately.

How about /^mail\.com/.  I'm guessing postfix peels the doamin out of the 
address - everything after the @ so this would only match mail.com


Rod
-- 
  "Open Source Software - Sometimes you get more than you paid for..."





More information about the PLUG mailing list