Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel /etc/mailips issue

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

  1. agnosticon

    agnosticon Member

    Joined:
    Jul 11, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    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:
    51
    anyone from cPanel to help out?
     
  3. gopkris2005

    gopkris2005 Well-Known Member

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

    /usr/local/cpanel/scripts/updateuserdomains
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. agnosticon

    agnosticon Member

    Joined:
    Jul 11, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice