On 2026-04-03 alain williams via Exim-users <[email protected]> wrote: > I have a couple of users who want to inject outgoing email via authenticated > submission.
[...] > But it sets outgoing domain to mailhost.example.com, thus > [email protected] whereas what is wanted is > [email protected] > I do not want to set "primary_hostname = example.com" as locally generated > emails should be from @mailhost.example.com > This should be easy - but I cannot work out how to do it. > Even better would be to be able to set the domain differently for users in > smtp_users, but that is not needed -- for now. [...] At the start of the mail you wrote "submission", does that imply using exim "submision mode"? There is a domain=... argument for the ACL control that might help you. (See spec Chapter 48 - Message processing) cu Andreas -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at https://www.exim.org/ ## Please use the Wiki with this list - https://code.exim.org/exim/wiki/wiki
