On Wed, Mar 06, 2013 at 11:52:35AM -0700, LuKreme wrote:
> The bad word begins with u and then is followed by n, s, u, b, an 
> archaic word meaning a person who is employed in writing, and then 
> a final d.
> 
> u, n, s, u, b,
> scribe 
> d

Cute. :)

> I [bad word] from a mailing list but the company continues to send 
> emails, so I was considering adding them to my header_checks.pcre 
> file
> 
> /^Received:.*cinemark\.com /
>      REJECT You refuse to respect [badword-d] requests, welcome to
>      the blacklist.
> 
> But I thought, before I do this, I better double check that this is 
> the best way to do this.

Almost surely not. You probably want a check_client_access 
restriction to reject all mail from that[those] IP address[es]. Even 
a check_sender_access would be better.

A good rule of thumb: never do something in the message content if 
you can accomplish the same thing with the envelope. Another one: 
header_checks(5) are rarely useful.

> I am running postfix-2.7.0.1 which I cannot update until I update 
> FreeBSD (it's on the schedule for the end of this month to move to 
> freeBSD-9.1 and postfix 2.10)
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to