I’m having an issue when trying to send an email to an address I created in Virtualmin. The email account exists, but whenever I try to send an email to it, I get this error message:
SMTP Error (550): Failed to add recipient.
The account or domain may not exist, they may be blacklisted, or missing the proper DNS entries.
Here’s what I’ve already done:
The email account is correctly created in Virtualmin.
The domain has valid A and MX records pointing to my server.
dig MX domain.tld shows the correct MX record.
DNS propagation should be complete (it’s been over 24 hours).
But the problem still happens. Could anyone help me figure out:
Is this a DNS misconfiguration issue?
Or is this a Postfix / Dovecot setup issue in Virtualmin?
Any suggestions on what I should check or fix would be greatly appreciated
You need to look at the log. Specifically, the journal for the postfix unit, when you try to send email to that account.
Our mail troubleshooting guide covers how to read/search the logs and the journal.
You said it’s not a DNS misconfiguration, and it sounds like you tested what would prove it’s not. Propagation is not really a thing, anymore. Only glue records can take more than a few minutes in most places and for most DNS servers worldwide.
If the MX record actually points where it should and the name it points to is the Virtualmin server, and you have confirmed that resolves to the right IP, then it can’t be DNS.
Well it certainly can’t be Dovecot. Dovecot is not an SMTP server.
One common mistake is naming the system the same thing as a domain hosted in Virtualmin. If you did that, there may be delivery issues, because there are two things with the same name.
I have removed the “solved” tag. If you’ve solved your problem, please post a comment describing the solution and mark is as the solution using the checkbox on the comment.
Oh, my bad! This is my first time asking here, and I accidentally marked it as solved while still trying to fix the issue. Still learning my way around the forum. thanks for pointing it out!
Thanks for removing the ‘solved’ tag. I’m still working on the issue and will update the thread with the solution once I have it. I appreciate your guidance!