PostFix Mail issue
Bounce back message :
This is the mail system at host yourhostname.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.
<info@yourhostname.com>: User unknown in virtual alias table
Final-Recipient: rfc822; info@yourhostname.com
Original-Recipient: rfc822;info@yourhostname.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; User unknown in virtual alias table
========
FIX
========
The issue occurred due to the server hostname, if you are hosting the domain in plesk the same name should not be included as the hostname.
# cat /etc/hostname
yourhostname.com
# vi /etc/postfix/main.cf
*********************
Incorrect line
#mydestination = yourhostname.com, localhost.net, localhost, localhost.localdomain
*********************
change from above to
mydestination = $myhostname, localhost.net, localhost, localhost.localdomain
Now check. The issue should be fixed. :)
Comments
Post a Comment