[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exim router configuration



On Thu, Aug 15, 2002 at 04:38:21PM +0300, Noah K Sematimba wrote:
> Need some help here.
> 
> I would like to configure direct smtp delivery for particular domains.

testconf:
  driver = manualroute
  domains = domain.com
  route_data = 1.2.3.4
  transport = remote_smtp

Actually, you'd normally use hostnames rather than IP addresses in the route
rules. It uses gethostbyname() by default, which usually means the system
looks in /etc/hosts and then for A (not MX) records in the DNS.

testconf2:
  driver = manualroute
  route_list = domain.com   mymx1.example.net:mymx2.example.net ; \
               another.com  mymx3.example.net
  transport = remote_smtp
  hosts_randomize

See the documentation for the 'manualroute' router for more examples.

Cheers,

Brian.

-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org