[exim] EXIM 4.62 VERP catch-22 question

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David Favor
Fecha:  
A: EXIM Users
Asunto: [exim] EXIM 4.62 VERP catch-22 question
Updating my previous VERP question. I have a mailing list of
1000s of subscribers. All these subscribers are in remote domains.

My goal is to have an address like foo-request@??? which is
recognized as a VERP address where two things happen:

    1) Return-Path: and Errors-To: are set with a VERP
       bounce/return address


    2) The actual recipient as will appear in the SMTP conversation
       is changed to foo@???


I find no working example. For instance the config:

    dnslookup:
      driver    = dnslookup
      debug_print = ">>>> debug: router: dnslookup"
      domains   = ! +local_domains
      transport = \
         ${if match {$local_part}{^(.+)-request\$}\
         {verp_smtp}{remote_smtp}}
      ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
      no_more


    remote_smtp:
      driver = smtp
      debug_print = ">>>> debug: transport: remote_smtp"


    verp_smtp:
      driver   = smtp
      debug_print = ">>>> debug: transport: verp_smtp"


except there appears to be no way to change the target recipient
in a transport stanza.

Alternatively, adding 'local_part_suffix = -request' to the router
breaks setting the transport correctly to 'verp_smtp' as the $local_part
match then will always go to the 'remote_stmp' transport because there
is no longer a '-request' in $local_part.

If someone has a working VERP .conf file please point me to it.

Thanks.

- David


--
Can you feel like $1,000,000 all day, every day? Yes you can!
Your simple secrets are here - http://RadicalHealth.com/peak