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

Can I send emails from two different IP addresses?

Discussion in 'Plesk for Linux - 8.x and Older' started by SBCTEC, Nov 18, 2008.


    SBCTEC Guest

    Here's the dilemma. I have a client who needs ssl hosting. I have a secure certificate, and I set up an additional IP address for their domain. When someone goes to their web page, they resolve to and not But when they send emails out, it looks like it's coming from, just like all the other clients I have on the shared hosting.

    How do I configure it so users from the exclusive domain send emails out of one IP, and the rest of the users on the shared side send out another IP? I'm using Plesk 8.6 (until 9.0) in RHEL.
  2. ziba@

    ziba@ Guest


    IP address you specify on Domains > domain_name > Setup page (or during hosting creation) only affects apache settings - virtual host is placed on this address.

    The IP address domain resolves to depends on what 'A' record it has in DNS.

    As for what IP address is shown in mail headers - qmail puts whatever address the OS chooses for all outbound connections. Check the following article for details:

    also article below might be useful:

    By default qmail does not provide possibility to set 'from' IP address displayed in mail headers on per domain basis.
    But there are patches for qmail that add this functionality, for example:

    If you decide to apply this patch on qmail then refer to the following article for instructions on how to patch compile Qmail on Plesk server with custom patches:

    SBCTEC Guest


    Without even following the links, I just have to say that your response was thorough, concise and to the point. I am thoroughly impressed, and I'm sure after following these links and reading the response, I'll find exactly what I need. Thank you.