On Wed, 23 Mar 2005, Jaye Mathisen wrote:
>
> I have another mail server at another location, so I just want
> all outbound SMTP mail (or by domain, I don't care) to just be forwarded
> to my other mail server, and let it do the delivery.
The easiest way to do this is to change your smtp transport to have the
following options:
hosts = outbound.smtp.server
hosts_override
You can achieve the same effect by altering the routeing but that tends to
depend more on the rest of the configuration. In the default configuration
you would change
dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more
to
nonlocal:
driver = manualroute
domains = ! +local_domains
route_data = outbound.smtp.server
transport = remote_smtp
no_more
Tony.
--
<fanf@???> <dot@???>
http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}