Re: Postfix question: How to reject email with a certain subject header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxxxxxxx                                  ***
web: http://weather.admin.niu.edu                                      **
*******************************************************************************
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux