It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

How can I set up my EXIM mail server to do outbound relay to my Barracdua server/service?

  • Type: Knowledgebase
  • Date changed: one year ago
Solution #00007201  

Scope:
All Email Security Gateways, and Email Security Service, all versions.

Answer:

NOTE: The following data was found by searching the web. 
      There were dozens of solutions found and the following 
      is the consensus of what was discussed.

NOTE:
This is for reference only, Please double check your 
      EXIM configuration syntax before applying.

Modify your EXIM config as follows:

  lookuphost:
     driver = dnslookup
     domains = ! +local_domains
     ignore_target_hosts = 127.0.0.0/8
     condition = "${perl{check_limits}}"
     transport = remote_smtp
     no_more
  smart_route:
     driver = manualroute
     domains = ! +local_domains
     ignore_target_hosts = 127.0.0.0/8
     condition = "${perl{check_limits}}"
     transport = remote_smtp
     route_list = * smarthost
     no_more

Where smarthost is the BESS outbound smarthost we provide on the domains page or the IP/hostname of your Email Security Gateway.

We also found several sites where the config for the route_list used:

     route_list = $domain smarthost::25

Restart Exim for the changes to take effect.

============================================================================================================
We also found this note in one of the web sites visited which may or may not work for setting up an individual domain on a shared EXIM service.
============================================================================================================

Routing all mails for a specific domain to a smarthost:

Note: The information below relates to a very specific customer requirement and is not recommended for most deployments. A configuration like this can cause problems which will be hard to troubleshoot. Unless you are sure you need to use this setup, please explore the other available options for routing mail.

     route_list = domain1 smarthost::25

For multiple domains you can use:

     route_list = domain1 smarthost::25 ;domain2 smarthost::25

Again: Restart Exim for the changes to take effect.

Link To This Page: