Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2006
    Posts
    36

    Default smart router with verification

    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. #2
    Member
    Join Date
    Jul 2006
    Posts
    36

    Default

    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. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    2

    Default

    Quote Originally Posted by bigdessert View Post
    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

    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!

Similar Threads & Tags
Similar threads

  1. Exim smart relay + verification?
    By beddo in forum E-mail Discussions
    Replies: 3
    Last Post: 12-08-2009, 06:33 PM
  2. Smart Host, Smart Route with SMTP authentication
    By belon_cfy in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-02-2007, 12:53 AM
  3. Help with router please
    By kashley in forum New User Questions
    Replies: 2
    Last Post: 06-28-2007, 08:03 PM
  4. smart router to check local account list
    By bigdessert in forum E-mail Discussions
    Replies: 0
    Last Post: 04-02-2007, 10:18 PM
  5. Router D-Link
    By RedHatSolutions in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-05-2004, 01:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube