On 2016-07-25 10:22 AM, Wietse Venema wrote:
Bob:
I am using postfix on an Ubuntu 16.04 system. I have also installed
dovecot as my mail server. I am able to send mail, I am also able to
check my mx setup from outside my domain (mxtoolbox) and it tells me
there is only one issue with a banner mismatch in my reverse dns. The
problem is I cannot receive mail. The system returns a "user not found"
or "user unknown" message in the logs. I checked my home directory and
there is a Maildir in that directory. I do not have virtual mailboxes
set up. Any help would be appreciated.
On this list, in addition to your opinions, we also want to see hard
evidence in the form of "postconf -n" command out and logfile records,
perhaps anonymized, and never with verbose logging turned on.

So, I now know what you need to see and will send it.

   postconf -n
   bob@server:~$ postconf -n
   alias_database = hash:/etc/aliases
   alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
   append_dot_mydomain = no
   biff = no
   broken_sasl_auth_clients = yes
   home_mailbox = Maildir/
   inet_interfaces = all
   inet_protocols = ipv4
   mailbox_size_limit = 0
   mailman_destination_recipient_limit = 1
   mydestination = server, localhost.faithwalk.ca, mail.faithwalk.ca,
   faithwalk.ca, localhost
   mydomain = mydomain
   myhostname = faithwalk.ca
   mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24
   myorigin = /etc/mailname
   readme_directory = no
   recipient_delimiter = +
   relay_domains = faithwalk.ca, lists.faithwalk.ca
   relayhost =
   smtp_tls_note_starttls_offer = yes
   smtp_tls_security_level = may
   smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
   smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
   smtpd_client_restrictions = permit_mynetworks,
   permit_sasl_authenticated, reject_unknown_client_hostname
   smtpd_recipient_restrictions = permit_mynetworks,
   permit_sasl_authenticated
   smtpd_relay_restrictions = permit_mynetworks
   permit_sasl_authenticated defer_unauth_destination
   smtpd_sasl_auth_enable = yes
   smtpd_sasl_local_domain = faithwalk.ca
   smtpd_sasl_path = private/auth
   smtpd_sasl_security_options = noanonymous
   smtpd_sasl_type = dovecot
   smtpd_tls_cert_file = /etc/ssl/certs/server.crt
   smtpd_tls_key_file = /etc/ssl/private/server.key
   smtpd_tls_loglevel = 1
   smtpd_tls_received_header = yes
   smtpd_tls_security_level = may
   smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
   smtpd_use_tls = yes
   transport_maps = hash:/etc/postfix/transport

   Send test mail /var/logs/mail.log
   Jul 25 10:14:12 server postfix/submission/smtpd[5387]: connect from
   www.faithwalk.ca[24.72.66.135]
   Jul 25 10:14:12 server postfix/submission/smtpd[5387]: 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 25 10:14:12 server postfix/submission/smtpd[5387]: DA38012800A7:
   client=www.faithwalk.ca[24.72.66.135], sasl_method=PLAIN,
   sasl_username=bob
   Jul 25 10:14:12 server postfix/cleanup[5395]: DA38012800A7:
   message-id=<b13e2061-5e4c-3435-729e-6a1219e94...@faithwalk.ca>
   Jul 25 10:14:12 server postfix/qmgr[1870]: DA38012800A7:
   from=<b...@faithwalk.ca>, size=688, nrcpt=1 (queue active)
   Jul 25 10:14:13 server postfix/submission/smtpd[5387]: 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 25 10:14:13 server postfix/smtp[5396]: DA38012800A7:
   to=<living...@gmail.com>,
   relay=gmail-smtp-in.l.google.com[74.125.28.26]:25, delay=0.94,
   delays=0.06/0.13/0.44/0.31, dsn=2.0.0, status=sent (250 2.0.0 OK
   1469463253 i1si34342138pfe.149 - gsmtp)
   Jul 25 10:14:13 server postfix/qmgr[1870]: DA38012800A7: removed

   Receive mail to main user /var/log/mail.log
   Jul 25 10:01:47 server postfix/qmgr[1870]: A8DC012800A9:
   from=<bounce+bdd7f1.9c403-bob=faithwalk...@mxtoolbox.com>,
   size=45253, nrcpt=1 (queue active)
   Jul 25 10:01:47 server postfix/pipe[5182]: A8DC012800A9:
   to=<b...@faithwalk.ca>, relay=mailman, delay=0.69,
   delays=0.4/0.01/0/0.27, dsn=5.1.1, status=bounced (user unknown)
   Jul 25 10:01:47 server postfix/cleanup[5181]: 467ED12800AB:
   message-id=<20160725160147.467ed1280...@faithwalk.ca>
   Jul 25 10:01:47 server postfix/bounce[5184]: A8DC012800A9: sender
   non-delivery notification: 467ED12800AB
   Jul 25 10:01:47 server postfix/qmgr[1870]: 467ED12800AB: from=<>,
   size=47185, nrcpt=1 (queue active)
   Jul 25 10:01:47 server postfix/qmgr[1870]: A8DC012800A9: removed
   Jul 25 10:01:48 server postfix/smtp[5185]: 467ED12800AB:
   to=<bounce+bdd7f1.9c403-bob=faithwalk...@mxtoolbox.com>,
   relay=aspmx.l.google.com[74.125.199.26]:25, delay=0.98,
   delays=0.03/0.15/0.71/0.09, dsn=5.2.1, status=bounced (host
   aspmx.l.google.com[74.125.199.26] said: 550-5.2.1 The user you are
   trying to contact is receiving mail at a rate that 550-5.2.1
   prevents additional messages from being delivered. For more
   550-5.2.1 information, please visit 550 5.2.1
   https://support.google.com/mail/answer/6592 k62si34251346pfb.69 -
   gsmtp (in reply to RCPT TO command))
   Jul 25 10:01:48 server postfix/qmgr[1870]: 467ED12800AB: removed



---- text below is from the mailing list welcome message ----
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail

TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Thank you for using Postfix.
---- text above is from the mailing list welcome message ----

        Wietse


Reply via email to