Re: [exim] VERP (working) example requested

Página Inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Para: David Favor
CC: EXIM Users
Assunto: Re: [exim] VERP (working) example requested
On Sun, 11 Jun 2006, David Favor wrote:
>
> This is incomplete. I've looked for hours trying to find the answer
> to a "complete" version, have given up and am posting.


You want to do the funky stuff in a router rather than the transport. Use
the errors_to option to do the VERP, and you can use local_part_suffix to
implement your recipient address modification. Your header modifications
are redundant - deliver-to, return-path, and errors-to are added by the
final delivery agent (though only return-path is standard). Something
like:

funky:
driver = accept
local_part_suffix = -request
senders = *-request@+local_domains
errors_to = $sender_address_local_part=$local_part%$domain@$sender_address_domain
transport = funky_smtp

If you don't have a fixed destination host, change it into a dnslookup
router.

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}}