Server can send but not receive email

Ubuntu 14.04

I have installed VirtualMin and installed 2 domains so far everything works great except i cannot get email to deliver to virtual users. I did change the username format to user@domain.tld and I can login to roundcube and I can send email but I cant get an email the error is:

This is the bounce msg I get on all email to the virtual domain:

host[173.219.x.x] said: 550 5.1.1
    <>: Recipient address rejected: User unknown in
    virtual alias table (in reply to RCPT TO command)

Hostname -f


[code] localhost ubuntu

The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


# See /usr/share/postfix/ for a commented, more complete version

# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

mydestination =,, ubuntu, localhost

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mynetworks = [::ffff:]/104 [::1]/128
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
allow_percent_hack = no

I have done the Re-Check Configuration it says no problems:

     Your system has 12.72 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.

    BIND DNS server is installed, and the system is configured to use it.

    Mail server Postfix is installed and configured.

    Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.

    Apache is installed.

    The following PHP versions are available : 5.5.9 (/usr/bin/php5-cgi)

    Webalizer is installed.

    Apache is configured to host SSL websites.

    MySQL is installed and running.

    ProFTPd is installed.

    Logrotate is installed.

    SpamAssassin and Procmail are installed and configured for use.

    ClamAV is installed and assumed to be running.

    Plugin AWstats reporting is installed OK.

    Plugin Mailman is installed OK.

    Plugin Protected web directories is installed OK.

    Using network interface eth0 for virtual IPs.

    Default IPv4 address for virtual servers is 173.219.x.x.

    Default IP address is set to 173.219.x.x, which matches the detected external address.

    Both user and group quotas are enabled for home and email directories.

    All commands needed to create and restore backups are installed.

    The selected package management and update systems are installed OK.

.. your system is ready for use by Virtualmin.

alias in for /etc/postfix/virtual is there and in the contents of said file I do have:

The error that the other server returned was:
550 5.1.1 <>: Recipient address rejected: User unknown in virtual alias table

I have extensively searched this forum and others but cannot figure this out

Can anyone perhaps see the obvious that I’m missing?

Best regards,


Hi I have exactly same problem here on debian 8

I reinstalled server with debain 8 and it all works.

i diaabled tls and it started working