I have a VPS up&running with multiple virtualservers configured in VirtualMin.
Now I have added an e-mail user to one domain. In the grid with users I see this:
Name IMAP/POP3/FTP login ... Login access info firstname.lastname@example.org .... Email only
I can login to roundcube for this domain, with the user email@example.com. I can also sent mails from this account. However, the account cannot receive mails.
I tried everything, and it all seems to be correct. Hostname is correct, user is listed correct, etc. But still receiving this error when sending mails to the account:
firstname.lastname@example.org: host srvX.ourhost.com [188.8.131.52] said: 550 5.1.1 email@example.com: Recipient address rejected: User unknown in virtual alias table (in reply to RCPT TO command)
Argh, I found it now! :)
Thanks to this post: https://www.virtualmin.com/node/8415
After all it was just a simple checkbox 'is primary e-mail'
Glad you got it working, thanks for letting us know how you fixed it!