I’m having trouble allowing an account to send from other addresses. I see the ability to do this in the alias setup page, but it seems to do the opposite of what I need – I don’t want one address to send to multiple addresses, I want multiple addresses to send from a single account.
I have various processes that occasionally send mail from their respective user names –
root, etc – and I’m trying to allow them all to send through one account. So I’ve set up a real
root account (so it can be authenticated against) and also a root alias for the other names (which according to the page should allow this account to also send from these names).
But I’m facing this confusing message:
MAIL FROM:<firstname.lastname@example.org> 250 2.1.0 Ok RCPT TO:<email@example.com> 553 5.7.1 <firstname.lastname@example.org>: Sender address rejected: not owned by user email@example.com
So despite successfully authenticating with this account, it can’t send email from its own address?!
I can see that there’s a potential for some kind of mail loop here, and that it might require a separate account (e.g.
root2) to authenticate with, and a separate alias pointing at it but that’s really cumbersome. Also, having set up this alias, I don’t want to it to act in the other direction – sending mail to the “real” account name should not result in it expanding to the alias list, but I don’t see any way to prevent that.
How should I set this up?