1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Changing principal domain in headers

Discussion in 'Plesk for Linux - 8.x and Older' started by emailadmin7788, Mar 26, 2006.

  1. emailadmin7788

    emailadmin7788 Guest

    No matter how many domains you add to Plesk whenever you send out an email via any SMTP the email header always shows the first domain you added to the server. Whether via webmail or SMTP.

    I have even tried adding a separate "exclusive" IP address, creating a new client and then adding the domain to that new client.

    Is there a way to work around this? I can't have the principal domain/ip on the server showing up in the headers of all emails we send out from any domain on the server.

    Any help/advice would be greatly appreciated.
  2. ionuts71

    ionuts71 New Pleskian

    Jul 7, 2005
    Likes Received:
    I have the same problem in Plesk 7.5. In the email header instead the sender domain IP appear the main IP of the server. How can I solve the problem?
  3. Olmes

    Olmes Guest

    I need to change email header domain Plesk 8.0.1. Any sugestion?
  4. jamesyeeoc

    jamesyeeoc Guest

    Qmail (not Plesk) associates itself with the server's primary IP address, which is usually also associated with the first domain created on the server.

    To change this, you would have to obtain the qmail sources from SWSoft (I believe they have released them now for Plesk 8), and a qmail patch from qmail.org (I think it's Andy Repton's outgoingip.patch) and recompile qmail on your server. If you are not familiar with recompiling software packages on your *nix server, then you may want to reconsider doing this, or at least practice doing it on a TEST server.

    To my recollection, SWSoft has never released the qmail sources for Plesk 7.xx, so you'd have to open a support ticket and request the 7.xx sources and see if they'll release them.