On Tue, 19 Jan 1999, Alwyn Schoeman wrote:
> In previous versions of Sendmail it was possible to route mail for user
> X@local to a smarthost if X didn't exist on the local mailserver. It
> seems to be darn near impossible with the newer sendmails...
>
> How can I do it with Exim? Security is not important.
Easy. Just stick in an additional director at the *end* of your directors,
so it will get invoked when all other directors fail. Something like
unknown_user:
driver = smartuser
transport = smarthost
and then stick the referenced transport in your transports section.
Something like
smarthost:
driver = smtp
hosts = the.name.of.your.smart.host
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***