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.

Issue with latest release version main option "smarthost" unknown

Discussion in 'E-mail Discussions' started by cameronp2, Oct 13, 2010.

  1. cameronp2

    cameronp2 Member

    Joined:
    Sep 22, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi There, I have some custom exim configuration settings, so that i can relay my domain emails onto my exchange server.

    Latest release version was trying to update and is having a spack at the following:

    main option "smarthost" unknown

    This is my config causing the problem:

    smarthost:
    driver = manualroute
    domains = *
    transport = remote_smtp
    route_data = "mail.xyz.com"


    Anyone got any ideas? What it means is that any of my whm /cpanel admin emails do not go through to my xyz.com email address now.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Where in exim.conf is this located? It should be in the WHM > Exim Configuration Editor > Advanced Editor area under routers section. If it isn't the routers section, it likely won't work properly.

    Here is what precedes the box where it should be listed:

    Code:
    ######################################################################
    #                      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.
    
    #
    # Demo Safety Router
    #
    
    democheck:
        driver = redirect
        require_files = "+/etc/demouids"
        condition = "${if eq {${lookup {$originator_uid} lsearch {/etc/demouids} {$value}}}{}{false}{true}}"
        allow_fail
        data = :fail: demo accounts are not permitted to relay email
     
  3. cameronp2

    cameronp2 Member

    Joined:
    Sep 22, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Awesome, thanks for that - that was exactly the issue.

    Cameron
     
Loading...

Share This Page