Re: exim: localhosts and smarthost
Jack <ifup@yifan.net> writes:
> To be more specific, I met this problem:
>
> . any email sent on gateway goes to smarthost, including the email
> To: the other local machine.
I have the following in my router section _before_ the 'catch all'
smarthost entry. This definition applies for mails addressed to '*.sc'
(my lan domain) and then sends the mail directly to this host
('$domain byname').
lan:
driver = domainlist
transport = remote_smtp
route_list = "*.sc $domain byname"
hth,
moritz
--
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199
Reply to: