HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Using Postfix Header_Check to prevent spoofing (http://www.howtoforge.com/forums/showthread.php?t=60840)

CapeSalyers 6th March 2013 18:40

Using Postfix Header_Check to prevent spoofing
 
Thank you in advance for your assistance.

I have a simple problem that I am having trouble fixing.
I have a web app that sends mail through a postfix server as domain1.com, however the actual Postifix server is domain2.com.
When the app sends the email that appears to come from domain1.com to the real domain1.com it is seen as spoofing and is rejected.
Whitelisting is on domain1.com is not an option so my thought was I could use Header_Checks to replace *.domain1.com with donotreply@domain2.com.

I have tried several examples seen around the internet but none are working:

/From: *@domain1.com$/ REPLACE From: donotreply@domain2.com

Would this be a viable solution? This server is used ONLY to send email to domain1.com and for internal alerting on server health (which I control those servers).

Any help or suggestions are greatly appreciated.


All times are GMT +2. The time now is 06:31.

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