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.

changing exim.conf

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

  1. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    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:
    47
    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.
     
  3. uadm

    uadm Well-Known Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    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.
     
Loading...

Share This Page