[CentOS] Postfix question: How to reject email with a certain subject header

Gilbert Sebenste sebenste at weather.admin.niu.edu
Thu Jun 18 04:22:54 UTC 2009

Hello Nate,

On Wed, 17 Jun 2009, nate wrote:

> Do you want to reject them or eat them and send them to /dev/null ?

Eat them and send them to /dev/null.

> If you want to reject them something like this would work:
> header_checks = regexp:/etc/postfix/regexp_table
> and in /etc/postfix/regexp_table something like:
> /^Subject: This is the subject I want to reject             REJECT 554
> Custom rejection message

Yes, but I'd rather eat them and send them to /dev/null. Any idea on how 
to do that?

Gilbert Sebenste                                                     ********
(My opinions only!)                                                  ******
Staff Meteorologist, Northern Illinois University                      ****
E-mail: sebenste at weather.admin.niu.edu                                  ***
web: http://weather.admin.niu.edu                                      **

More information about the CentOS mailing list