[Exim] route_file

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dan Egli
Dátum:  
Címzett: Exim Users
Tárgy: [Exim] route_file
I never did see any responces to this, so I'll ask again.

I'm trying to configure route_file so that I can have a file that routes
certain domains to certain SMTP hosts, and everything else to the host
specified in their MX record.

Here's the format I'm using for my route.file (the file specified in the
route_file entry)

*.domain1.com:    mx1.domain2.com byname
*.domain3.com:    mx2.domain4.com byname


but when I try sending mail to machine.domain1.com, it gets sent to
mx1.domain1.com, not mx1.domain2.com

Anyone know what I'm doing wrong? Here's my entries in the exim.conf file
special_route:
driver = domainlist
transport = remote_smtp
route_file = /etc/route.file
search_type = lsearch


Any help is appreciated! Thanks