HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix REDIRECT action not working (http://www.howtoforge.com/forums/showthread.php?t=32347)

Icaro 11th March 2009 11:31

Postfix REDIRECT action not working
 
Hi,

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

In my main.cf I have:

header_checks = regexp:/etc/postfix/header_checks

And the "header_checks" file:

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

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 log....so it seems this actions doesn't work well...

Anyone can help me with this?

Thanks in advance and excuse my english.

falko 12th March 2009 16:51

Please don't double-post.


All times are GMT +2. The time now is 20:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.