Hello all,
I am using debian packaged exim4, backported to woody (thanks
ametzler!), and I would like to add a manualroute, but I am not sure
where the best place for it would be. Right now, I am accepting mail
for another domain, and using a uucp route to deliver to
/var/spool/uucp, where the domain owner later retrieves it. I would
like to switch to remailing to a specific box, and it looks like
manualroute is the way to go, from all I've been able to grok so far.
This domain is already listed in relay_to_domains, so accepting mail
won't change, just the routing of it.
I am still getting the hang of exim4 syntax and configuration options,
so please forgive the newbiness of my questions. What I have right now
is /etc/exim4/conf.d/routers/110_exim4-config_uucp_router:
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
I would of course have to change the transport line in the router, and
presumably I'd want to look for the domain in a different file than
uucphosts, but that's as far as I've gotten. I don't want to start
dropping mail for his domain, so I wanted to ask before I started doing
any modifications. Does this look OK, or am I missing something
glaringly obvious?
TIA,
--
--------------------------------------------------------------------------
| Stephen Gran | If it heals good, say it. |
| steve@??? | |
| http://www.lobefin.net/~steve | |
--------------------------------------------------------------------------