Re: Blocking emails from a specific address

"Joe R. Jah" <[email protected]> Thu, 28 Aug 2008 20:07:11 -0700 (PDT)
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>
On Thu, 28 Aug 2008, Toomas Aas wrote:

> Date: Thu, 28 Aug 2008 20:31:23 +0300
> From: Toomas Aas <[email protected]>
> To: [email protected], [email protected]
> Subject: Re: Blocking emails from a specific address
>
> Joe Dowsett wrote:
>
> > We've an ongoing issue with a particular person (not on the list) and would
> > like to block emails from that address from going out to the list
> > subscribers, but would like to specify a single address to which emails from
> > this person will still get delivered - so that we can monitor the emails
> > that they are sending.
> >
> > Is this possible?
>
> Take a look at the taboo_headers configuration parameter. I guess you can set
> "From: [email protected]" as a taboo header (not sure about the syntax) so

/^From: .*badguy\@somewhere\.com/i

Escape the @, "\@", and include the trailing "i" for case insensitivity.
It's also important to use ".*" before the email to cover cases like:

"Bad Guy" <[email protected]>

> that messages from this address won't go out to the list. In my experience all
> blocked material gets delivered to the list owner, so the "monitoring" part is
> also there.
>
> > Will this person be aware that these emails are being blocked?
>
> No.
>
> --
> Toomas Aas

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [email protected]