Auteur: ayu20 Date: À: exim-users Sujet: [Exim] smarthost base on domain question
Hi,
I am very new to Exim. I have gotten a working config and Exim is
working almost the way I like it. I having trouble getting my smarthost
router to work the way I indented.
Here's what I am trying to accomplish. I want the smarthost router to
search a text file and determine the smarthost to use to route those
messages. Here's my smarthost router and smarthostroutelist. The IP
address on the list are made up for this example. I am using the real
IP on the server.
earth:/etc/exim4# exim -bt ayu20@???
LOG: MAIN
error in smarthost router: no host(s) specified for domain $domain
ayu20@??? cannot be resolved at this time:
error in smarthost router: no host(s) specified for domain $domain
earth:/etc/exim4# exim -bt ayu20@???
LOG: MAIN
error in smarthost router: no host(s) specified for domain $domain
ayu20@??? cannot be resolved at this time:
error in smarthost router: no host(s) specified for domain $domain
How can I get the smarthost router to use the smarthost if it can find
the outgoing email domain in the smarthostroutelist file and use the
localhost for everything else?
I have tried adding an entry like '*: 127.0.0.1' to the
smarthostroutelist file without luck. I really appreciate any help you
can offer.
I know, I can default all my outgoing email to a single smarthost. But
this is more fun. ;-)