Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

submission rewrite question..

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


bcook at poughkeepsieschools

Feb 12, 2010, 8:57 AM

Post #1 of 2 (367 views)
Permalink
submission rewrite question..

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.whatever [at] personal-custom" from env-from rewritten as
"user [at] ourdomain" 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 workaccount [at] ourdomain 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?

Thanks in advance.



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


exim-users at spodhuis

Feb 14, 2010, 8:44 PM

Post #2 of 2 (334 views)
Permalink
Re: submission rewrite question.. [In reply to]

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.whatever [at] personal-custom" from env-from rewritten as
> "user [at] ourdomain" 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 workaccount [at] ourdomain 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}{\
workaccount [at] ourdomain:other-preserved [at] example}}
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/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.