Email not getting redirected to as per MX record to business email server

user5858 asked:

I’ve purchased business email so all emails to [email protected] should go to as per the MX record of

Here is the MX lookup of

DNS server handling your query: localhost
 DNS server's address:

 Non-authoritative answer:    mail exchanger = 10    mail exchanger = 10

but still I’m getting this error in the syslog file:

 A091021432: to=<[email protected]>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (User unknown in virtual alias table)

How can that be?

Here is the postfix configuration. I’ve mangled other domains however I’ve retained the domain as it is:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = [email protected]
append_dot_mydomain = no
biff = no
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, localhost, localhost.localdomain, localhost
myhostname =
mynetworks = [::ffff:]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual

My answer:

You specifically configured Postfix to handle mail for, in virtual_alias_domains. When you put a domain here, Postfix always delivers the mail locally.

If the mail is not meant to be delivered locally, the domain must not appear in virtual_alias_domains, virtual_alias_maps, myhostname or mydestination.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.