Hello. What are you using for local delivery in main.cf? virtual or procmail?
Usually, I add a domain to relay_domains and virtual relay_domains = /etc/postfix/relay_domains virtual_maps = hash:/etc/postfix/virtual alias_database = hash:/etc/aliases And then have an associated entry in /etc/postfix/virtual as well: @mydomain.com @localhost And confirm that your mail_spool path is configured correctly as well: mail_spool_directory = /var/mail Bob wrote:
I am using Ubuntu 16, postfix, dovecot and mailman. I can send mail, but for some reason, I cannot receive mail. When I try to send to my address from an gmail account, I get an "undeliverable" message which states that my user is unknown. Since the user is the one I use all the time, and there is a MailDir in my home directory, I don't understand the problem. My mail log from when I tried sending from my user on my server and when Thunderbird logged into my user is below