Having the strangest mail error.
have 3 domains on Virtualmin, one is working perfect.
The third, I cannot get the created user to be picked up or found.
it seems to be creating the user from the first domain or something.
it created the user, let me select options but It does not pickup any mail, mailbox is always empty.
It does let me send the mail out.
The logs say this :
ec 29 19:20:25 sv1 postfix/local[27893]: 21D8B2F80C6F: to=user1.domain3@sv1.domain1.com, orig_to=user1@domain3.com, relay=local, delay=1.1, delays=1/0/0/0.09, dsn=5.1.1, status=bounced (unknown user: “user1.domain3”)
and it bounces with errors:
This is the mail system at host sv1.domain1.com.
I’m sorry to have to inform you that your message could not
be delivered to one or more recipients. It’s attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
user1.domain3@sv1.domain1.com (expanded from
user1@domain3.com): unknown user:
“user1.domain3”
Final-Recipient: rfc822; user1.domain3@sv1.domain1.com
Original-Recipient: rfc822;user1@domain3.com
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: “user1.domain3”
it seems like the final user should be at the domain 3 not the domain 1(hostname)
could it be caused by only the one hostname in /etc/hosts? The lines user1.domain3@sv1.domain1.com cannot be correct, it should be <user1.domain3@??DOMAIN3.COM???>
The mapping seemed to create these users as user1-domain3.com
im so confused, any help would be greatly appreciated.