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!

changing exim.conf

Discussion in 'E-mail Discussion' started by uadm, Jul 31, 2013.

  1. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    156
    Our server was use for spam and now we are blocked at hotmail servers. We fixed the spam problem and we added the following lines to exim.conf under the routers section:

    smarthost_a:
    driver = manualroute
    domains = hotmail.com
    transport = remote_smtp
    route_data = "<a different IP>"

    However this lines are removed from exim.conf when the cpanel updates.
    For now we did chatt +ai /etc/exim.conf. Is there a different way to make this changes permenent?

    Thanks!
     
  2. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    In WHM >> Exim configuration manager, set

    Send mail from account’s dedicated IP address --- Off
    Reference /etc/mailips for outgoing SMTP connections --- On

    Then edit the file /etc/mailips file, add below line and restart exim.

    - - - Updated - - -

    If you want it jsut for outgoing email to hotmail then you should add your configuration lines in WHM >> Exim Configuration Manager >> Advanced Editor and save to make changes permanent.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    156
    thanks, advanced editor did it.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, the following option is available if you want to ensure that custom changes are preserved:

    "WHM Home » Service Configuration » Exim Configuration Manager » Advanced Editor"

    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