Symptoms
Unable to receive emails to a particular email account with the following error message in /var/log/maillog
file:
550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual mailbox table
Cause
Postfix virtual_alias_maps
misconfiguration. Namely the recipient address is missed in the Postfix virtual_alias_maps
configuration:
# postmap -s /var/spool/postfix/plesk/virtual | grep [email protected]
#
Resolution
-
Connect to the server via SSH.
-
Add missing alias for the affected mailbox:
# echo "[email protected] [email protected]" | postmap -i hash:/var/spool/postfix/plesk/virtual
Note: replace [email protected] with the appropriate email account from the error message.