Hi all,

I was wondering if there could be any problems with the following, that 
I may have overseen.

I have a autoreply transport, that looks like this:

mysql_reply:
         driver                  = autoreply
#       reply_to                = "[EMAIL PROTECTED]"
#       from                    = "[EMAIL PROTECTED]"
         # Experimental:
         reply_to    = "[EMAIL PROTECTED]"
         from        = "[EMAIL PROTECTED]"
         to          = ${sender_address}
         subject     = ${expand:${lookup mysql 
{MYSQL_ARSUBJECT}{$value}{Re: $header_subject:}}}
         text        = ${lookup mysql {MYSQL_ARTEXT}{$value}}
         log         = /var/log/exim4/autoreplylog
         once        = /var/spool/exim4/autoreply/[EMAIL PROTECTED]
         once_repeat = ${lookup mysql {MYSQL_ONCE}{$value}{7d}}

Up to today, I used the settings for 'reply-to' and 'from' that are 
commented above, but that caused an unwanted result in the case where 
the address that triggered the autoreply was the result of a redirect.

In that case, the sender of the autoreply is the address that triggered 
the autoreply (the final recipient) instead of the address that was 
actually mailed to.

So I replaced [EMAIL PROTECTED] by 
[EMAIL PROTECTED] and that seems to work.

Are there any situations in which this does not work as expected? The 
Exim spec states:

   "When more than one address is being delivered in a single transport 
run, $original_local_part is not set."

However, I cannot forsee if this could ever be the case here. Feedback 
would be appreciated!

Best regards,

Martijn Grendelman


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to