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.

Exim and SmartHosts

Discussion in 'General Discussion' started by msmartinwsx, Jun 15, 2004.

  1. msmartinwsx

    msmartinwsx Member

    Joined:
    Feb 7, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Ok Then.

    Trying to set a smart host for all my servers so I can monitor the mail going out from the server (spammers and the like).

    I am trying the following in the correct router section of the config...

    route_smarthost:
    driver = domainlist
    transport = remote_smtp
    route_list = * my.smarthost.net byname

    but Exim chucks up some nice error;

    Starting exim: 2004-06-15 12:31:19 Exim configuration error in line 393 of /etc/exim.conf:
    router smarthost: cannot find router driver "domainlist"
    [FAILED]
    Starting exim-smtps: 2004-06-15 12:31:19 Exim configuration error in line 393 of /etc/exim.conf:
    router smarthost: cannot find router driver "domainlist"


    Does anyone have any ideas or suggestions?

    Thanks.
     
  2. mammothdata

    mammothdata Registered

    Joined:
    Sep 23, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have been trying to figure this out myself. The best I can figure, the version of exim that cpanel installs does not have all the configuration options enable by default?

    I see you posted this thread in June with no reply's and I found this post in September.

    Have you found a fix yet?

    If anyone else knows, please post the answer.

    Thanks.
     
  3. msmartinwsx

    msmartinwsx Member

    Joined:
    Feb 7, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I figured it ;)

    under the following section in Exim config;

    ######################################################################
    # ROUTERS CONFIGURATION #
    # Specifies how remote addresses are handled #
    ######################################################################
    # ORDER DOES MATTER #
    # A remote address is passed to each in turn until it is accepted. #
    ######################################################################

    # Remote addresses are those with a domain that does not match any item
    # in the "local_domains" setting above.


    enter...

    Code:
    send_to_gateway:
    driver = manualroute
    domains = !+local_domains
    transport = remote_smtp
    route_list = * my.mail.host.name.com
    
     
Loading...

Share This Page