Debian 6 fresh install, ISPConfig3, dovecott, postfix.
Received this when try to send an email to the created email:
This is the mail system at host example.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
<email@example.com>: unknown user: “admin”
Reporting-MTA: dns; example.com
X-Postfix-Sender: rfc822; firstname.lastname@example.org
Arrival-Date: Sat, 4 May 2013 17:12:29 +0200 (CEST)
Final-Recipient: rfc822; email@example.com
Diagnostic-Code: X-Postfix; unknown user: “admin”
And fixed like that: delete the domain example.com (my domain) from the line mydestination, leaving it like that:
mydestination = localhost, localhost.localdomain
One thought on “How to fix ‘unknown user’ error on postfix”
Thank you, you saved my job.