Re: [Exim] manualroute question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tabor J. Wells
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] manualroute question
On Wed, Nov 19, 2003 at 02:22:59PM -0500,
Stephen Gran <steve@???> is thought to have said:

> uucphost:
> transport = uucp
> driver = manualroute
> route_data = ${lookup{$domain}lsearch{/etc/exim4/uucphosts}}
>
> and /etc/exim4/conf.d/transport/20_exim4-config_uucp_transport:
>
> uucp:
>   driver = pipe
>   user = nobody
>   command = /usr/bin/uux -r - \
>     ${substr_-5:$host}!rmail ${local_part}
>   return_fail_output = true

>
> So I could presumably just change the transport to something like:
> do_manual_delivery:
>     driver = remote_smtp
>     host = mail.foo.com


Actually what you want to do is add a new router (or replcate the uucphost
router if this is the only domain that uucphost is used for).

The router would probably look something like:

do_manual_delivery:
driver = manualroute
transport = remote_smtp
route_list = "example.com mail.example.com bydns"

adjusting your route_list to suite your needs as appropriate of course.

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality