Since Yunohost 2.7.2 there is a security to avoid users to be able to send email as another ynh users. For example firstname.lastname@example.org can’t send an email email@example.com if this users already exists.
See here for details about this change : https://github.com/YunoHost/yunohost/pull/330
This security improvement is a good idea, but before I was able to send email as firstname.lastname@example.org, and now I get “Sender address rejected: not owned by user xxxxx”. But I am the user behind this mail I just want use my own smtp to send it because ARN don’t give me a smtp account to do it.
So I have found a simple solution:
- Firstly I have added the domain arn.tld to my ynh instance (I hadn’t changed dns of arn.tld)
- Next I have added the alias email@example.com on my ynh account
- Finally I have removed the domain arn.tld
And now I am able to send email as firstname.lastname@example.org with my ynh smtp server