Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have try to configure Postfix for multiple domain with dedicated ips. when i am sending mail from different domain webmail then header show same local or main domain name. Received: from ( [1xx.2xx.2xx.xx1]) on all domain.

i have test different & but not work. if any one know how to configure this & for multiple domain and dedicated ips then help me.

i want result like this

Example. 1.) i am sending mail from webmail then header like this Received: from ( [1xx.2xx.2xx.xx2]) on all domain. 2.) i am sending mail from webmail then header like this. Received: from ( [1xx.2xx.2xx.xx3]) on all domain.

Server OS Centos 6.3, configured all domain with dedicated ips.

share|improve this question
Is it a few domains? (less than 10) Which web server and web scripting language do you use? – Andrzej A. Filip Dec 15 '13 at 21:16

I'm not 100% secure, but I saw an installation like this some months ago.

Set up the transports:

Example, /etc/postfix/transport:   :client1    :client2

Then the

client1  unix -       -       n       -       -       smtp
   -o smtp_bind_address=
   -o syslog_name=postfix-client1

client2  unix -       -       n       -       -       smtp
   -o smtp_bind_address=
   -o syslog_name=postfix-client2

And, config all you need to listen this IP (firewalls, etc..) like says at

Here you has other question like yours but is for use random transports at postfix

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.