Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th March 2010, 22:58
jseedev jseedev is offline
Junior Member
 
Join Date: Mar 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix and multiple IPs/Domains

I have a CentOS 5.4 box, running ISPConfig 3. I have about 5 additional IPs configured on this server. I have all the IPs configured in ISPConfig (not that it applies to the problem at hand) and have 2 sites setup through ISPConfig. domain1.com and domain2.com

domain1.com hosts the nameservers for domain2.com

domain1.com points to the primary IP - lets call it 123.123.123.1
domain2.com points to a secondary IP - lets call it 123.123.123.2

When I use PHP mail() to send an e-mail from domain2.com, my "Received From:" header shows the primary IP (123.123.123.1) instead of the IP assigned to domain2.com (123.123.123.2)

My question is, how do I get postfix to sign the outbound e-mails from sendmail.postfix as the triggering domain? (In this instance, domain2.com or 123.123.123.2)

I know that I can modify ALL outbound headers with /etc/postfix/main.cf and changing $myhostname, but I want the header to be marked with the triggering domain's assigned IP or hostname (either would suffice).
Reply With Quote
Sponsored Links
  #2  
Old 15th July 2011, 14:52
raczkowski1 raczkowski1 is offline
Junior Member
 
Join Date: Jul 2011
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi
I have the same problem, diid you do it?

Thamks
__________________
Dariusz Raczkowski
Reply With Quote
  #3  
Old 16th July 2011, 12:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

These links might help: http://www.linuxmail.info/postfix-mu...smtp-greeting/
http://www.jpuddy.net/2008/05/19/how...x-and-postfix/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 17:57


All times are GMT +2. The time now is 23:02.


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