On Wed, Nov 18, 2009 at 09:17:14AM +0100, pascal valois wrote:
> i installed postfix-pcre on ubuntu 8.04.
>
> and add this line in my main.cf postfix configuration :
>
> header_checks = pcre:/etc/postfix/header_checks
Why are using header checks to filter the envelope recipient address?
(Hint: DO NOT).
http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions
http://www.postfix.org/postconf.5.html#check_recipient_access
http://www.postfix.org/access.5.html
Find a decent tutorial on Postfix restriction processing.
> then here is the content of my /etc/postfix/header_checks :
>
> !/postmas...@devinci\.fr/ REJECT go away
>
> but when this is enables, all mail are rejected.
>
> can anyone help me with this ?
Don't reject all messages that contain header lines that don't mention
the postmaster address.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.