I am seeing that mail sent by an authenticated user over a submission
port is showing the sender and envelope-from as
"usern...@example.com"@mail.example.com

I read the documentation on rewriting and would like to do it based on
a list of authenticated users so I have added this in acl_check_rcpt:

accept  authenticated = *
          control       = submission/domain=example.com/\
                                  name=${lookup {$authenticated_id} \
                                          lsearch {/etc/mail/namelist}}

This has partly fixed the problem. Now the sender is
"u...@example.com"@example.com

How can I get this to be usern...@example.com?

-Kevin

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