> From: Steve Williams
> 
> I'm trying to set up Exim to allow authenticated users to send mail
> from any local domains, without Exim adding the sender and return-path
> headers.
> 
> Exim will authenticate users using AUTH PLAIN. However whenever an
> authenticated user sends an e-mail the Sender header is set to be
> <username>@<primary-domain>. The return-path is also set to the same.
> I do not want Exim to change these headers. It is made worse when the
> username is '[email protected]', because the header values become
> [email protected]@primarydomain.com - this then breaks SPF checking.
> 
> I only want authenticated users to be able to send e-mails, but I do
> not want their usernames added to the headers at all. I also only want
> authenticated users to send e-mail from the local domains on the
> server. How can I achieve this?
> 
> I have already tried (possibly incorrectly) setting:
> 
> accept  authenticated = *
>   control = submission/sender_retain

I use:

  accept authenticated = *
         control = submission/domain=

(with nothing after "domain=").

If some of your users use Windows then you need also
https://github.com/Exim/exim/wiki/BlockCracking

-- 
## List details at https://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