Issue with Creating Virtual Domains with Postfix/ISPConfig

Discussion in 'Installation/Configuration' started by norby, Jun 14, 2011.

  1. norby

    norby New Member

    Dear Experts,

    Thank you for all the great work you do!

    I have a question regarding Virtual Domains for postfix. I followed the following tutorial:

    http://www.howtoforge.com/perfect-server-centos-5.6-x86_64-ispconfig-3

    Host: serv1.example.com (00.63.132.44)
    First Domain: site1.com (00.63.132.44)
    Second Domain: site2.com (00.63.132.45)

    Everything is working great, except for one concern. ISPConfig 3 addresses the virtual domains for postfix by creating a table mail_domains. I can confirm that all my domains are listed in the table and also confirmed that postfix is reading from that table (mysql-virtual_domains.cf).

    When an email is sent from the Second Domain the email header lists the following information:

    Received: from serv1.example.com ([00.63.132.44])

    From my understanding with virtual domains when sending email from Second Domain the header should read:

    Received: from serv1.example.com ([00.63.132.45])

    What am I forgetting to do?


    DNS Info: site1.com

    A site1.com. 00.63.132.44
    A mail 00.63.132.44
    A ns1 00.63.132.44
    A www 00.63.132.44
    MX site1.com. mail.site1.com.
    NS site1.com. ns1.site1.com.
    NS site1.com. ns2.site1.com.
    TXT site1.com. v=spf1 a mx ptr -all

    DNS Info: site2.com

    A site2.com. 00.63.132.45
    A mail 00.63.132.45
    A ns1 00.63.132.45
    A www 00.63.132.45
    MX site2.com. mail.site2.com.
    NS site2.com. ns1.site2.com.
    NS site2.com. ns2.site2.com.
    TXT site2.com. v=spf1 a mx ptr -all

    Thank you in advance...
     
  2. norby

    norby New Member

    I posted this message in the wrong thread... I apologize and will be more careful next time... however I don't know how to move a message to another thread...
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The setup is ok and behaves normally. Postfix always sends from only one ip address if a server has more then one ip address. dns records do not matter here.
     

Share This Page