Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 6th March 2013, 19:40
CapeSalyers CapeSalyers is offline
Junior Member
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation 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.
Reply With Quote
Sponsored Links


header_check, postfix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 23:58
Postfix SMTP Auth to Dovecot Not Working -- HELP! Scratchpad Server Operation 6 12th April 2011 14:29
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36

All times are GMT +2. The time now is 05:40.

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