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.

  1. SBCTEC

    SBCTEC Guest

    0
     
    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 111.111.111.111 and not 222.222.222.222. But when they send emails out, it looks like it's coming from 222.222.222.222, 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

    0
     
    Hi,

    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:
    http://kb.odin.com/en/1190

    also article below might be useful:
    http://kb.odin.com/en/1189

    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:
    http://www.memoryhole.net/qmail/#outgoingip

    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:
    http://kb.odin.com/en/1161
     
  3. SBCTEC

    SBCTEC Guest

    0
     
    Amazing

    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.
     
Loading...