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.

smart router with verification

Discussion in 'E-mail Discussions' started by bigdessert, Jul 10, 2007.

  1. bigdessert

    bigdessert Active Member

    Joined:
    Jul 21, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    We have a smart router setup like this in two parts:

    smart_route:
    driver = manualroute
    route_data = ${lookup{$domain}lsearch{/etc/staticroutes}}
    transport = remote_smtp_smart

    second part:

    remote_smtp_smart:
    driver = smtp
    port = 26
    hosts = ${lookup{$domain}lsearch{/etc/staticroutes}}
    hosts_override

    We have in the staticroutes localdomain.com: remote server ip
    And have 3 domains being forwarded.

    What I am trying to do, setup a flat file with email addresses and do some sort of recipient verification on it.
    I am a newb when it comes to exim, so if I could please have some direction.
    Thanks!
     
  2. bigdessert

    bigdessert Active Member

    Joined:
    Jul 21, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    figured it out added this condition line

    smart_route:
    driver = manualroute
    route_data = ${lookup{$domain}lsearch{/etc/staticroutes}}
    condition = ${lookup {$local_part} lsearch {/etc/specificusers}{yes}{no}}
    transport = remote_smtp_smart
     
  3. gstevens

    gstevens Registered

    Joined:
    Dec 8, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1

    Hey bigdessert, what does the file /etc/specificusers end up looking like? Is each line something such as someone@example.com?

    Thanks for the info!
     
Loading...

Share This Page