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.

For customers w/static IP, have Exim/SMTP use that IP for sending

Discussion in 'E-mail Discussions' started by openaccess, Nov 9, 2009.

  1. openaccess

    openaccess Active Member

    Joined:
    Jan 22, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    It would be nice if it was configurable or just automatic that if a customer has a static IP, that IP would be used for sending out e-mail.

    A common case we see where using just the main IP of the server for delivery is if there is a local spam break out. Say a user's e-mail account gets compromised and it is used to send 10s of thousands of spams. Currently, this results in the entire server getting black listed.

    If it was configurable, or just 'automatic' for customers with static IPs to have their mail delivered off their IP, then the impact of this kind of thing would be more limited and in particular, customers who pay extra to have a static IP would not be affected by a spam outbreak from one of the domains of the majority of customers who use shared IP.

    Possibly this is just no doable with Exim?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I believe what you seek can be found on the Exim Configuration Editor page, under the Domains and IPs section.
     
  3. openaccess

    openaccess Active Member

    Joined:
    Jan 22, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Sure enough, it is there, thanks! Not sure why I never noticed it before.
     
  4. openaccess

    openaccess Active Member

    Joined:
    Jan 22, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    It looks like cPanel does not automatically populate /etc/mailips and /etc/mail_reverse_dns. Is there a reason this is not done (to avoid nasty side effects or something) ?

    I'm a bit leery of using this the way it is. If we have to manually update those files because we'll end up with stale information floating around when accounts are terminated.
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    To automatically populate the files mailips, mailhelo, and mail_reverse_dns, please ensure to use the "Automatic" option as detailed below:

    Menu path, WHM: Main >> Service Configuration >> Exim Configuration Editor >> Standard Options >> Domains and IPs
    * Automatically send outgoing mail from the account's IP address instead of the main IP address.

    Documentation:
    EximConfig < AllDocumentation/WHMDocs < TWiki
    DomainsIps < AllDocumentation/WHMDocs < TWiki
     
  6. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    If we check this

    Automatically send outgoing mail from the account's IP address instead of the main IP address.

    Why isnt cpanel automatically creates the appropriate entry in the following file so we DO NOT have to manually edit them? That is too much of a hassle for customers

    files im referring to is
    * /etc/mailhelo — Exim's HELO command's configuration file.
    * /etc/mailips — The file that specifies from which IP addresses mail should be sent.

    from : Changing the Sending IP for Outbound Email in Exim
     
  7. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The automatic option should maintain the two aforementioned files without manual intervention; if you're experiencing difficulty with this option please submit a support request so that we may assist with investigating the issue. When available, please let me know the ticket ID number so that we may follow-up internally.
     
Loading...
Similar Threads - customers static Exim
  1. icecream
    Replies:
    1
    Views:
    243

Share This Page