View Single Post
Old 11th March 2009, 12:26
Icaro Icaro is offline
Junior Member
Join Date: Aug 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

I'm having problems with REDIRECT action in header_checks.
My postfix is version 2.3.8-2+etch1.

In my I have:

header_checks = regexp:/etc/postfix/header_checks

And the "header_checks" file:

/^To: .*@(?!mydomain\.com>)/ REDIRECT

The problem is that the emails are not being redirected, only rejected.
also if I put REJECT "message" instead of REDIRECT the message I put in the REJECT action doesn't appear in the it seems this actions doesn't work well...

Anyone can help me with this?

Thanks in advance and excuse my english.
Reply With Quote