[Dovecot] Fwd: IMAP SSL incoming test need help !
Sent from my iPhone
Begin forwarded message:
From: D Chen <dchenusa@yahoo.com> Date: April 19, 2012 4:06:49 PM PDT To: lists-dovecot <replies-lists-a1z2-dovecot@listmail.innovate.net> Subject: Re: [Dovecot] IMAP SSL incoming test need help ! Reply-To: D Chen <dchenusa@yahoo.com>
Thanks for nice pointing out in my mail.log!
I could not find where is the procmail log located under /var/log !
As procmail is "suspicious", I recalled that I selected either use procmail or not use for local delivery while I re-configure the postfix. I ran "sudo dpkg-reconfigure postfix" again, and selected NOT use "Procmail" for local delivery, restart postfix and ran the tested again, it worked now ! examined the mail.log, it said "delivered to maildir" instead of procmail.
why works NOT using procmail ? thx.
From: lists-dovecot <replies-lists-a1z2-dovecot@listmail.innovate.net> To: D Chen <dchenusa@yahoo.com> Sent: Thursday, April 19, 2012 5:22 AM Subject: Re: [Dovecot] IMAP SSL incoming test need help !
------------ Original Message ------------
Date: Thursday, April 19, 2012 01:44:35 AM -0700 From: D Chen <dchenusa@yahoo.com> To: Dovecot Mailing List <dovecot@dovecot.org> Subject: [Dovecot] IMAP SSL incoming test need help !
Ubuntu 11.10 server with postfix/dovecot/squirrelmail configured.
Outgoing SMTP server seemed worked fine, however, the incoming IMAP with SSL on port 993 doesn't seem to receive any mail at all !? Here is the mail.log during the test session from an external yahoo mail (dchenusa@yahoo.com) to the internal server testmail.biokeyinc.com (dchen@testmail.biokeyinc.com) The log did NOT show any error ! The sender showed sent mail! but no mail reach to the destination! Any help would be appreciated.
Apr 19 01:20:02 testmail postfix/smtpd[4103]: connect from nm20-vm4.bullet.mail.ne1.yahoo.com[98.138.91.180] Apr 19 01:20:03 testmail postfix/smtpd[4103]: 091ED200973: client=nm20-vm4.bullet.mail.ne1.yahoo.com[98.138.91.180] Apr 19 01:20:03 testmail postfix/cleanup[4108]: 091ED200973: message-id=<32C9C558-95DA-417D-8687-41ABE1296D61@yahoo.com> Apr 19 01:20:03 testmail postfix/qmgr[2007]: 091ED200973: from=<dchenusa@yahoo.com>, size=2840, nrcpt=1 (queue active) Apr 19 01:20:03 testmail postfix/smtpd[4103]: disconnect from nm20-vm4.bullet.mail.ne1.yahoo.com[98.138.91.180] Apr 19 01:20:12 testmail postfix/smtpd[4113]: connect from localhost[127.0.0.1] Apr 19 01:20:12 testmail postfix/smtpd[4113]: 33AE9200AE9: client=localhost[127.0.0.1] Apr 19 01:20:12 testmail postfix/cleanup[4108]: 33AE9200AE9: message-id=<32C9C558-95DA-417D-8687-41ABE1296D61@yahoo.com> Apr 19 01:20:12 testmail postfix/qmgr[2007]: 33AE9200AE9: from=<dchenusa@yahoo.com>, size=3536, nrcpt=1 (queue active) Apr 19 01:20:12 testmail postfix/smtpd[4113]: disconnect from localhost[127.0.0.1] Apr 19 01:20:12 testmail amavis[2042]: (02042-06) Passed CLEAN, [98.138.91.180] [98.138.87.4] <dchenusa@yahoo.com> -> <dchen@testmail.biokeyinc.com>, Message-ID: <32C9C558-95DA-417D-8687-41ABE1296D61@yahoo.com>, mail_id: rqyVZiQDwSsG, Hits: -0.109, size: 2837, queued_as: 33AE9200AE9, dkim_id=dchenusa@yahoo.com,@yahoo.com, 8647 ms Apr 19 01:20:12 testmail postfix/smtp[4109]: 091ED200973: to=<dchen@testmail.biokeyinc.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.5, delays=0.87/0.01/0/8.6, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 33AE9200AE9) Apr 19 01:20:12 testmail postfix/qmgr[2007]: 091ED200973: removed Apr 19 01:20:12 testmail postfix/local[4114]: 33AE9200AE9: to=<dchen@testmail.biokeyinc.com>, relay=local, delay=0.18, delays=0.1/0/0/0.07, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Apr 19 01:20:12 testmail postfix/qmgr[2007]: 33AE9200AE9: removed Apr 19 01:21:30 testmail dovecot: imap-login: Login: user=<dchen>, method=PLAIN, rip=63.195.90.22, lip=192.168.20.100, mpid=4122, TLS Apr 19 01:23:13 testmail dovecot: imap(dchen): Disconnected: Disconnected in IDLE bytes=99/708 Apr 19 01:23:23 testmail postfix/anvil[4105]: statistics: max connection rate 1/60s for (smtp:98.138.91.180) at Apr 19 01:20:02 Apr 19 01:23:23 testmail postfix/anvil[4105]: statistics: max connection count 1 for (smtp:98.138.91.180) at Apr 19 01:20:02 Apr 19 01:23:23 testmail postfix/anvil[4105]: statistics: max cache size 1 at Apr 19 01:20:02
------------ End Original Message ------------
I'm going to bet that procmail is eating the inbound message:
Apr 19 01:20:12 testmail postfix/local[4114]: 33AE9200AE9:
to=<dchen@testmail.biokeyinc.com>, relay=local, delay=0.18, delays=0.1/0/0/0.07, dsn=2.0.0, status=sent (delivered to command:procmail -a "$EXTENSION")
and it's not getting to the user's inbox. If a message doesn't get to the user's inbox then it's not dovecot's issue that it can't be retrieved.
fyi -- imap/dovecot have nothing to do your inbound delivery.
however, the incoming IMAP with SSL on port 993 doesn't seem to receive any mail
that's handled by your MTA, which in your case is postfix, with procmail in the mix.
I would try looking at the procmail log to see what's happening there.
- Richard
Sent from my iPhone
Begin forwarded message:
From: Dennis Chen <dchenusa@yahoo.com> Date: April 19, 2012 5:38:01 PM PDT To: dovecot@dovecot.org Subject: Fwd: [Dovecot] IMAP SSL incoming test need help !
Sent from my iPhone
Begin forwarded message:
From: D Chen <dchenusa@yahoo.com> Date: April 19, 2012 4:06:49 PM PDT To: lists-dovecot <replies-lists-a1z2-dovecot@listmail.innovate.net> Subject: Re: [Dovecot] IMAP SSL incoming test need help ! Reply-To: D Chen <dchenusa@yahoo.com>
Thanks for nice pointing out in my mail.log!
I could not find where is the procmail log located under /var/log !
As procmail is "suspicious", I recalled that I selected either use procmail or not use for local delivery while I re-configure the postfix. I ran "sudo dpkg-reconfigure postfix" again, and selected NOT use "Procmail" for local delivery, restart postfix and ran the tested again, it worked now ! examined the mail.log, it said "delivered to maildir" instead of procmail.
why works NOT using procmail ? thx.
From: lists-dovecot <replies-lists-a1z2-dovecot@listmail.innovate.net> To: D Chen <dchenusa@yahoo.com> Sent: Thursday, April 19, 2012 5:22 AM Subject: Re: [Dovecot] IMAP SSL incoming test need help !
------------ Original Message ------------
Date: Thursday, April 19, 2012 01:44:35 AM -0700 From: D Chen <dchenusa@yahoo.com> To: Dovecot Mailing List <dovecot@dovecot.org> Subject: [Dovecot] IMAP SSL incoming test need help !
Ubuntu 11.10 server with postfix/dovecot/squirrelmail configured.
Outgoing SMTP server seemed worked fine, however, the incoming IMAP with SSL on port 993 doesn't seem to receive any mail at all !? Here is the mail.log during the test session from an external yahoo mail (dchenusa@yahoo.com) to the internal server testmail.biokeyinc.com (dchen@testmail.biokeyinc.com) The log did NOT show any error ! The sender showed sent mail! but no mail reach to the destination! Any help would be appreciated.
Apr 19 01:20:02 testmail postfix/smtpd[4103]: connect from nm20-vm4.bullet.mail.ne1.yahoo.com[98.138.91.180] Apr 19 01:20:03 testmail postfix/smtpd[4103]: 091ED200973: client=nm20-vm4.bullet.mail.ne1.yahoo.com[98.138.91.180] Apr 19 01:20:03 testmail postfix/cleanup[4108]: 091ED200973: message-id=<32C9C558-95DA-417D-8687-41ABE1296D61@yahoo.com> Apr 19 01:20:03 testmail postfix/qmgr[2007]: 091ED200973: from=<dchenusa@yahoo.com>, size=2840, nrcpt=1 (queue active) Apr 19 01:20:03 testmail postfix/smtpd[4103]: disconnect from nm20-vm4.bullet.mail.ne1.yahoo.com[98.138.91.180] Apr 19 01:20:12 testmail postfix/smtpd[4113]: connect from localhost[127.0.0.1] Apr 19 01:20:12 testmail postfix/smtpd[4113]: 33AE9200AE9: client=localhost[127.0.0.1] Apr 19 01:20:12 testmail postfix/cleanup[4108]: 33AE9200AE9: message-id=<32C9C558-95DA-417D-8687-41ABE1296D61@yahoo.com> Apr 19 01:20:12 testmail postfix/qmgr[2007]: 33AE9200AE9: from=<dchenusa@yahoo.com>, size=3536, nrcpt=1 (queue active) Apr 19 01:20:12 testmail postfix/smtpd[4113]: disconnect from localhost[127.0.0.1] Apr 19 01:20:12 testmail amavis[2042]: (02042-06) Passed CLEAN, [98.138.91.180] [98.138.87.4] <dchenusa@yahoo.com> -> <dchen@testmail.biokeyinc.com>, Message-ID: <32C9C558-95DA-417D-8687-41ABE1296D61@yahoo.com>, mail_id: rqyVZiQDwSsG, Hits: -0.109, size: 2837, queued_as: 33AE9200AE9, dkim_id=dchenusa@yahoo.com,@yahoo.com, 8647 ms Apr 19 01:20:12 testmail postfix/smtp[4109]: 091ED200973: to=<dchen@testmail.biokeyinc.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.5, delays=0.87/0.01/0/8.6, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 33AE9200AE9) Apr 19 01:20:12 testmail postfix/qmgr[2007]: 091ED200973: removed Apr 19 01:20:12 testmail postfix/local[4114]: 33AE9200AE9: to=<dchen@testmail.biokeyinc.com>, relay=local, delay=0.18, delays=0.1/0/0/0.07, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Apr 19 01:20:12 testmail postfix/qmgr[2007]: 33AE9200AE9: removed Apr 19 01:21:30 testmail dovecot: imap-login: Login: user=<dchen>, method=PLAIN, rip=63.195.90.22, lip=192.168.20.100, mpid=4122, TLS Apr 19 01:23:13 testmail dovecot: imap(dchen): Disconnected: Disconnected in IDLE bytes=99/708 Apr 19 01:23:23 testmail postfix/anvil[4105]: statistics: max connection rate 1/60s for (smtp:98.138.91.180) at Apr 19 01:20:02 Apr 19 01:23:23 testmail postfix/anvil[4105]: statistics: max connection count 1 for (smtp:98.138.91.180) at Apr 19 01:20:02 Apr 19 01:23:23 testmail postfix/anvil[4105]: statistics: max cache size 1 at Apr 19 01:20:02
------------ End Original Message ------------
I'm going to bet that procmail is eating the inbound message:
Apr 19 01:20:12 testmail postfix/local[4114]: 33AE9200AE9:
to=<dchen@testmail.biokeyinc.com>, relay=local, delay=0.18, delays=0.1/0/0/0.07, dsn=2.0.0, status=sent (delivered to command:procmail -a "$EXTENSION")
and it's not getting to the user's inbox. If a message doesn't get to the user's inbox then it's not dovecot's issue that it can't be retrieved.
fyi -- imap/dovecot have nothing to do your inbound delivery.
however, the incoming IMAP with SSL on port 993 doesn't seem to receive any mail
that's handled by your MTA, which in your case is postfix, with procmail in the mix.
I would try looking at the procmail log to see what's happening there.
- Richard
participants (1)
-
Dennis Chen