On 2010-02-12 at 11:57 -0500, B. Cook wrote:
> In our acl_check_rcpt we have:
> 
> accept authenticated = *
>    control = submission/domain=
> 
> and there are things in the logs like this:
> 
> 2010-02-12 11:52:32 [58655] 1Nfykq-000FG3-H4 
> "name.whate...@personal-custom.domain" from env-from rewritten as 
> "u...@ourdomain.org" by submission mode
> 
> 
> While this is generally what we want.. we do have a few times that we 
> would like this to not happen..
> 
> We have a 'work' account that we have support@ info@ etc.. that gets 
> sorted into folders support/ info/ etc..
> 
> b/c we authenticate as workacco...@ourdomain.org it rewrites our 
> support@ or info@ as who/what we authenticate as..
> 
> How can we tell exim to not do this for certain names/emails?

The Exim Specification, ยง44.1 Submission mode for non-local messages.
Combine with a check for the authenticated account.

  accept authenticated = *
         condition = ${if match_address{$authenticated_sender}{\
                workacco...@ourdomain.org:other-preser...@example.org}}
         control = submission/sender_retain/domain=

  accept authenticated = *
         control = submission/domain=

You can also use $authenticated_id if you use "server_set_id" in the
authenticators.

-- 
## 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/

Reply via email to