What type of hardware are you using: VPS bought online
What YunoHost version are you running: 11.2.30.2
How are you able to access your server: The webadmin
SSH
Describe your issue
I used to host emails for one domain (DOMAIN_B) on my yunohost instance (not the primary domain, DOMAIN_A). After some time, for various reason I decided to stop using my yunohost server to host emails for this domain, and migrate them to an external provider. I correctly replaced the various DNS records and finally unchecked the “Outgoing emails” and “Ingoing emails” (not sure of the wording, my interface is in french) checkboxes in the webadmin panel configuration of this domain.
I still host emails for the primary domain DOMAIN_A on my yunohost instance.
I discover today that any emails sent from DOMAIN_B (old one) to my address on DOMAIN_A (primary) were all silently rejected (no error messages on both side).
Share relevant logs or error messages
I found the appropriate log line in /var/log/mail.log
:
Oct 10 09:34:16 HOSTNAME postfix/smtpd[58537]: NOQUEUE: reject: RCPT from msg-4.NEW_PROVIDER.net[x.x.x.x]: 553 5.7.1 <username@DOMAIN_B>: Sender address rejected: not logged in;
from=<username@DOMAIN_B> to=<myself@DOMAIN_A> proto=ESMTP helo=<NEW_PROVIDER.net>
I wonder if there is not some old configuration stuff somewhere, which make postfix think it is still in command for DOMAIN_B, whereas it should now consider it as a completely external one?