Postfix send error

Symptom is no email is being received
tail /var/mail/root contains the following error:
Diagnostic-Code: X-Postfix; unknown user:

When you install postfix if your hostname includes your domain then Postfix thinks its receiving mail for the domain, to fix:
vim /etc/postfix/
remove [] from mydestination section

restart postfix and retest
postfix stop
postfix start


Leave a Reply