On Mon, Jul 18, 2016 at 12:34:06PM -0500, Matthew McGehrin wrote: > What are you using for local delivery in main.cf? virtual or > procmail?
This makes no sense. virtual(8) delivery is by definition not "local(8)". And procmail (an unmaintained piece of software) is not required, never was. > Usually, I add a domain to relay_domains and virtual > relay_domains = /etc/postfix/relay_domains This is not what relay_domains is for. > virtual_maps = hash:/etc/postfix/virtual The virtual_maps setting has been deprecated for a VERY long time. Please don't advise people in 2016 to use it. > alias_database = hash:/etc/aliases That's a default, and irrelevant for relay and virtual ( alias | mailbox ) domains. > And then have an associated entry in /etc/postfix/virtual as well: > @mydomain.com @localhost Yikes. Catchalls are very bad, and that syntax is wrong anyway. > And confirm that your mail_spool path is configured correctly as well: > > mail_spool_directory = /var/mail Again irrelevant. Bob, please disregard all of that post. > 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 /var/log/mail.log > Jul 18 10:55:21 server postfix/submission/smtpd[10297]: connect > from www.faithwalk.ca[24.72.66.135] > Jul 18 10:55:21 server postfix/submission/smtpd[10297]: Anonymous > TLS connection established from www.faithwalk.ca[24.72.66.135]: > TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) > Jul 18 10:55:22 server postfix/submission/smtpd[10297]: > 0F83A1280024: client=www.faithwalk.ca[24.72.66.135], > sasl_method=PLAIN, sasl_username=bob > Jul 18 10:55:22 server postfix/cleanup[10304]: 0F83A1280024: > message-id=<578d09f9.4000...@faithwalk.ca> > Jul 18 10:55:22 server postfix/qmgr[24473]: 0F83A1280024: > from=<b...@faithwalk.ca>, size=676, nrcpt=1 (queue active) > Jul 18 10:55:22 server postfix/submission/smtpd[10297]: disconnect > from www.faithwalk.ca[24.72.66.135] ehlo=2 starttls=1 auth=1 mail=1 > rcpt=1 data=1 quit=1 commands=8 > Jul 18 10:55:23 server postfix/smtp[10305]: 0F83A1280024: > to=<bob.lydi...@gmail.com>, > relay=gmail-smtp-in.l.google.com[74.125.199.26]:25, delay=1.3, > delays=0.05/0.16/0.61/0.52, dsn=2.0.0, status=sent (250 2.0.0 OK > 1468860923 y67si4331367pfy.250 - gsmtp) > Jul 18 10:55:23 server postfix/qmgr[24473]: 0F83A1280024: removed That's a successful submission and relay outbound. and > Jul 18 10:55:54 server dovecot: pop3-login: Login: user=<bob>, > method=PLAIN, rip=24.72.86.239, lip=24.72.66.135, mpid=10317, TLS, > session=<br9u1+s3o+0YSFbv> POP3 was outdated before the millennium. Also, Dovecot logs are [mostly] not relevant here. > and this is from an email I tried to send using an email > verification site. > Jul 18 10:23:17 server postfix/smtpd[9627]: connect from > mail.paolapacheo.qz301.com[185.31.205.11] Jul 18 10:23:18 server > postfix/smtpd[9627]: 17166128002A: > client=mail.paolapacheo.qz301.com[185.31.205.11] Jul 18 10:23:18 > server postfix/smtpd[9627]: 17166128002A: reject: RCPT from > mail.paolapacheo.qz301.com[185.31.205.11]: 550 5.1.1 > <omquqzat...@faithwalk.ca>: Recipient address rejected: User > unknown in local recipient table; > from=<rayna.wave+bob=faithwalk...@mail.paolapacheo.qz301.com> > to=<omquqzat...@faithwalk.ca> proto=SMTP > helo=<mail.paolapacheo.qz301.com> "Faithwalk.ca" is in your $mydestination, but "omquqzat1gw" is not a valid system user or alias. Was this unexpected? Should that address exist? > and when I try to send mail insystem from bob to bob, the mail > bounces > Jul 18 11:15:26 server postfix/submission/smtpd[10653]: connect > from www.faithwalk.ca[24.72.66.135] > Jul 18 11:15:26 server postfix/submission/smtpd[10653]: Anonymous > TLS connection established from www.faithwalk.ca[24.72.66.135]: > TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) > Jul 18 11:15:26 server postfix/submission/smtpd[10653]: > 4EF3B1280077: client=www.faithwalk.ca[24.72.66.135], > sasl_method=PLAIN, sasl_username=bob > Jul 18 11:15:26 server postfix/cleanup[10657]: 4EF3B1280077: > message-id=<578d0eac.8020...@faithwalk.ca> > Jul 18 11:15:26 server postfix/qmgr[24473]: 4EF3B1280077: > from=<b...@faithwalk.ca>, size=661, nrcpt=1 (queue active) > Jul 18 11:15:26 server postfix/submission/smtpd[10653]: disconnect > from www.faithwalk.ca[24.72.66.135] ehlo=2 starttls=1 auth=1 mail=1 > rcpt=1 data=1 quit=1 commands=8 The mail was accepted from the client, but ... > Jul 18 11:15:26 server postfix/pipe[10658]: 4EF3B1280077: > to=<b...@faithwalk.ca>, relay=mailman, delay=0.31, > delays=0.06/0.01/0/0.25, dsn=5.1.1, status=bounced (user unknown) ... For some reason you have sent this address to a pipe(8) transport(5) which is called "mailman". That part was not explained, and the configuration information as described in DEBUG_README.html#mail was not provided. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: