The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel /etc/mailips issue

Discussion in 'E-mail Discussions' started by agnosticon, Aug 6, 2013.

  1. agnosticon

    agnosticon Member

    Joined:
    Jul 11, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hello Guys,

    I have enabled the following:

    * Reference /etc/mailhelo for outgoing SMTP HELO [?]
    Send HELO based on the domain name in /etc/mailhelo (more information)

    ** Reference /etc/mailips for outgoing SMTP connections [?]
    Send outgoing mail from the IP that matches the domain name in /etc/mailips (more information)

    /etc/mailhelo contains:

    Domain.com: 1.2.3.4

    /etc/mailhelo contains:

    Domain.com: Domain.com


    When I send mail through any cpanel web application (e.g roundcube) it sends the mail from IP address located in /etc/mailips.

    But when I try to send an email from a remote server with outlook or any other client by connecting through smtp, the mail headers show the mail was sent from shared IP address of the server.

    Please help resolved this, I'd appreciate it!

    Thank you
     
  2. agnosticon

    agnosticon Member

    Joined:
    Jul 11, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    anyone from cPanel to help out?
     
  3. gopkris2005

    gopkris2005 Well-Known Member

    Joined:
    Jan 9, 2007
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should update userdomains after this files modification.

    /usr/local/cpanel/scripts/updateuserdomains
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Documentation on these files is available at:

    Changing the Sending IP for Outbound Email in Exim

    You may want to enable "Send mail from account’s dedicated IP address" instead of manually modifying the two files if your intention is to have email sent from the account's IP address. Could you review the documentation and let us know if you have configured these two files correctly?

    Thank you.
     
  5. agnosticon

    agnosticon Member

    Joined:
    Jul 11, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hello Michael,

    Thank you for your reply, I have read the documentation. Both files are setup correctly, Email gets sent from the allocated IP address in /etc/mailips if you send a mail directly from the server using RoundCube or Horde etc. When you send email using the SMTP details from a remote server it sends from the shared IP. That's the problem I'm facing and would appreciate your help.

    Thank you
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket so we can take a closer look?

    Submit A Ticket

    Please post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page