I am having a problem that I cannot find the cause of. My setup is fairly simple Debian (Jessie) with Postfix, Dovecot, Aamavisd-new, Postgrey, Postfixadmin and PostgreSQL. Attached is a extract of my Postfix mail log
I modified the main.cf by adding a couple of lines. Which I then had to comment out as they I found that I could not use email on cell phones!!The following patch was generated by meld by comparing the current main to the backup main of the previous day.
@@ -53,6 +53,9 @@ smtpd_tls_cert_file = /root/ssl/certs/$mydomain.mail.pem smtpd_tls_key_file = /root/ssl/private/$mydomain.mail.key smtpd_tls_received_header = yes +#smtpd_tls_exclude_ciphers = EXPORT, LOW, IDEA, 3DES + +#tls_preempt_cipherlist = yesvirtual_mailbox_domains = proxy:pgsql:/etc/postfix/sql/virtual_domain_map.sql
virtual_alias_maps = proxy:pgsql:/etc/postfix/sql/virtual_alias_map.sql, THAT IS NOT the problem. It may be a problem but one at a time please. Up until these changes everything worked. Restoring the backup main does not make any difference. Subsequent to these changes address rewriting stopped working. r...@klam.ca has an or is an alias of postmas...@klam.ca and save flailing around I have the alias address set as postmaster+r...@klam.ca. The attached log seems to show Postfix handing off the email for root to Dovecot using LMTP. Except the address is wrong, it I thought it should have been "rewritten" by now to it's alias "postmaster+r...@klam.ca". Dovecot quite correctly rejects the email as it does know anything about root. If I run the various SQL queries against Postfixadmin database using PostgreSQL and postmap they all seem to return the expected results. How do I find find out where the problem lies. -- John Allen KLaM ------------------------------------------ In the world of the internet if you're not paying for something, you're not the customer, you are the product. attrib: blue_beetle
Feb 22 08:04:15 bilbo postfix/smtpd[12361]: connect from mail-la0-x22b.google.com[2a00:1450:4010:c03::22b] Feb 22 08:04:17 bilbo postgrey[1375]: action=pass, reason=client whitelist, client_name=mail-la0-x22b.google.com, client_address=2a00:1450:4010:c03::22b, sender=zzz2...@gmail.com, recipient=r...@klam.ca Feb 22 08:04:17 bilbo postfix/smtpd[12361]: 51CDB3640514: client=mail-la0-x22b.google.com[2a00:1450:4010:c03::22b] Feb 22 08:04:17 bilbo postfix/cleanup[12369]: 51CDB3640514: message-id=<CAMUEqxKtBt=tvZKLG=jat9je6rkguwqw-ylmakhdymm1w5m...@mail.gmail.com> Feb 22 08:04:17 bilbo postfix/qmgr[7307]: 51CDB3640514: from=<zzz2...@gmail.com>, size=2151, nrcpt=1 (queue active) Feb 22 08:04:17 bilbo postfix/smtpd[12361]: disconnect from mail-la0-x22b.google.com[2a00:1450:4010:c03::22b] Feb 22 08:04:18 bilbo postfix/smtpd[12374]: connect from localhost[127.0.0.1] Feb 22 08:04:18 bilbo postfix/smtpd[12374]: 5543C3640DA1: client=localhost[127.0.0.1] Feb 22 08:04:18 bilbo postfix/cleanup[12375]: 5543C3640DA1: message-id=<CAMUEqxKtBt=tvZKLG=jat9je6rkguwqw-ylmakhdymm1w5m...@mail.gmail.com> Feb 22 08:04:18 bilbo postfix/qmgr[7307]: 5543C3640DA1: from=<zzz2...@gmail.com>, size=2663, nrcpt=1 (queue active) Feb 22 08:04:18 bilbo postfix/smtp[12371]: 51CDB3640514: to=<r...@klam.ca>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.6, delays=0.78/0.01/0.01/0.82, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5543C3640DA1) Feb 22 08:04:18 bilbo postfix/qmgr[7307]: 51CDB3640514: removed Feb 22 08:04:18 bilbo dovecot: lmtp(12377): Connect from local Feb 22 08:04:18 bilbo postfix/lmtp[12376]: 5543C3640DA1: to=<r...@klam.ca>, relay=smtp.klam.ca[private/dovecot-lmtp], delay=0.32, delays=0.24/0.01/0.01/0.06, dsn=5.1.1, status=bounced (host smtp.klam.ca[private/dovecot-lmtp] said: 550 5.1.1 <r...@klam.ca> User doesn't exist: r...@klam.ca (in reply to RCPT TO command)) Feb 22 08:04:18 bilbo dovecot: lmtp(12377): Disconnect from local: Successful quit Feb 22 08:04:18 bilbo postfix/cleanup[12375]: A0EFC3640DAE: message-id=<20150222130418.a0efc3640...@smtp.klam.ca> Feb 22 08:04:18 bilbo postfix/bounce[12378]: 5543C3640DA1: sender non-delivery notification: A0EFC3640DAE Feb 22 08:04:18 bilbo postfix/qmgr[7307]: A0EFC3640DAE: from=<>, size=4632, nrcpt=1 (queue active) Feb 22 08:04:18 bilbo postfix/qmgr[7307]: 5543C3640DA1: removed Feb 22 08:04:20 bilbo postfix/smtp[12380]: A0EFC3640DAE: to=<zzz2...@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.68.26]:25, delay=2.2, delays=0.08/0.01/0.95/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1424610260 i204si25002414qhc.40 - gsmtp) Feb 22 08:04:20 bilbo postfix/qmgr[7307]: A0EFC3640DAE: removed
smime.p7s
Description: S/MIME Cryptographic Signature