--On 26 October 2009 17:24:55 +0000 Jonathan Gilpin <[email protected]> wrote:
> Hi, > > When using a redirect in Exim for an Alias, the Envelope-To is re- > written for future lookups. > > So [email protected] -> [email protected] Please use "example.com", or a domain similarly reserved by RFC2606 <http://www.apps.ietf.org/rfc/rfc2606.html> for examples like this. > > Then does future lookups for [email protected] when checking things > like spam if a user should be checked for spam.. $local_part and > $domain for example. > > When writing the Message to the Maildir it also writes Envelope-To: as > the redirected Email Address and not the Email Address which was > originally sent to.. The docs say that the transport option envelope_to_add uses "the original address(es)in the incoming envelope that caused this delivery to happen." I guess that means after earlier rewriting during routing... > How can I make it write the original email address which was entered > in the RCPT To and not the address redirected to? You may be able to use $original_domain and $original_local_part with headers_add in the transport configuration, but I've not tried it myself. Or, you might use it with headers_rewrite if you discover that you're adding a second Envelope-To: header. > > Jonathan -- Ian Eiloart IT Services, University of Sussex 01273-873148 x3148 For new support requests, see http://www.sussex.ac.uk/its/help/ -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
