[Dovecot] Postfix + Dovecot & mail-stack-delivery Outlook Problem
Hello all readers of the list,
I wish to get Microsoft Outlook 2010 workin with mail-stack-delivery setup.
Logs when trying to setup accaunt in Microsoft Outlook 2010:
ec 14 22:38:31 ip-172-31-7-147 dovecot: imap-login: Disconnected: Too many invalid commands (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:38:31 ip-172-31-7-147 dovecot: pop3-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:38:31 ip-172-31-7-147 dovecot: pop3-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2, TLS Dec 14 22:38:31 ip-172-31-7-147 dovecot: imap-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2, TLS Dec 14 22:38:32 ip-172-31-7-147 dovecot: pop3-login: Aborted login (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:38:33 ip-172-31-7-147 dovecot: imap-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2, TLS Dec 14 22:38:33 ip-172-31-7-147 dovecot: imap-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:39:17 ip-172-31-7-147 dovecot: pop3-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2, TLS handshaking: Disconnected Dec 14 22:39:18 ip-172-31-7-147 dovecot: imap-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2, TLS handshaking: Disconnected Dec 14 22:39:22 ip-172-31-7-147 postfix/submission/smtpd[8237]: connect from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:22 ip-172-31-7-147 postfix/submission/smtpd[8237]: lost connection after UNKNOWN from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:22 ip-172-31-7-147 postfix/submission/smtpd[8237]: disconnect from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:22 ip-172-31-7-147 postfix/submission/smtpd[8237]: connect from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:23 ip-172-31-7-147 postfix/submission/smtpd[8237]: lost connection after UNKNOWN from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:23 ip-172-31-7-147 postfix/submission/smtpd[8237]: disconnect from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:23 ip-172-31-7-147 postfix/submission/smtpd[8239]: connect from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:23 ip-172-31-7-147 postfix/submission/smtpd[8237]: connect from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8239]: lost connection after STARTTLS from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8239]: disconnect from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8237]: lost connection after STARTTLS from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8237]: disconnect from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8239]: connect from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8237]: connect from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8239]: lost connection after EHLO from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8239]: disconnect from unknown[2001:470:28:743:4923:c01c:c89a:567a] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8237]: lost connection after EHLO from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:39:24 ip-172-31-7-147 postfix/submission/smtpd[8237]: disconnect from cable-tku-58c3cc-203.dhcp.inet.fi[88.195.204.203] Dec 14 22:40:13 ip-172-31-7-147 dovecot: imap-login: Login: user=<sm>, method=PLAIN, rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2, mpid=8243, TLS Dec 14 22:40:57 ip-172-31-7-147 dovecot: imap-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:40:57 ip-172-31-7-147 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:40:58 ip-172-31-7-147 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:42:44 ip-172-31-7-147 dovecot: imap-login: Disconnected (no auth attempts): rip=2001:470:28:743:4923:c01c:c89a:567a, lip=2001:470:1f08:ddd::2 Dec 14 22:42:45 ip-172-31-7-147 postfix/anvil[8238]: statistics: max connection rate 3/60s for (submission:2001:470:28:743:4923:c01c:c89a:567a) at Dec 14 22:39:24 Dec 14 22:42:45 ip-172-31-7-147 postfix/anvil[8238]: statistics: max connection count 1 for (submission:2001:470:28:743:4923:c01c:c89a:567a) at Dec 14 22:39:22 Dec 14 22:42:45 ip-172-31-7-147 postfix/anvil[8238]: statistics: max cache size 2 at Dec 14 22:39:22
Telnet log while connected over IPV6 to port 587 on mail server: Trying 2001:470:1f08:ddd::2... Connected to 2001:470:1f08:ddd::2. Escape character is '^]'. 220 mail.sami-mantysaari.biz ESMTP Postfix ehlo samip537.tk 250-mail.sami-mantysaari.biz 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN quit 221 2.0.0 Bye Connection closed by foreign host.
Any seggestions what to try in order to get this to work?
Am 14.12.2013 23:45, schrieb Sami Mäntysaari:
Hello all readers of the list,
I wish to get Microsoft Outlook 2010 workin with mail-stack-delivery setup.
Logs when trying to setup accaunt in Microsoft Outlook 2010:
whatever "mail-stack-delivery" is meant to be
Dec 14 22:40:58 ip-172-31-7-147 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth)
don't disable plaintext authentication *or* configure the client to *not* use plaintext auth
there is nothing between
Hello,
mail-stack-delivery is from of integration of Dovecot + Postfix for easier setup.
15.12.2013 0:50, Reindl Harald kirjoitti:
Am 14.12.2013 23:45, schrieb Sami Mäntysaari:
Hello all readers of the list,
I wish to get Microsoft Outlook 2010 workin with mail-stack-delivery setup.
Logs when trying to setup accaunt in Microsoft Outlook 2010: whatever "mail-stack-delivery" is meant to be
Dec 14 22:40:58 ip-172-31-7-147 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth)
don't disable plaintext authentication *or* configure the client to *not* use plaintext auth
there is nothing between
Also the Microsoft Outlook 2010 was not able to find ANY auth methods that it could log in with and i have no clue how to solve that.
15.12.2013 0:52, Sami Mäntysaari kirjoitti:
Hello,
mail-stack-delivery is from of integration of Dovecot + Postfix for easier setup.
15.12.2013 0:50, Reindl Harald kirjoitti:
Am 14.12.2013 23:45, schrieb Sami Mäntysaari:
Hello all readers of the list,
I wish to get Microsoft Outlook 2010 workin with mail-stack-delivery setup.
Logs when trying to setup accaunt in Microsoft Outlook 2010: whatever "mail-stack-delivery" is meant to be
Dec 14 22:40:58 ip-172-31-7-147 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth)
don't disable plaintext authentication *or* configure the client to *not* use plaintext auth
there is nothing between
Am 14.12.2013 23:52, schrieb Sami Mäntysaari:
Hello,
mail-stack-delivery is from of integration of Dovecot + Postfix for easier setup.
15.12.2013 0:50, Reindl Harald kirjoitti:
Am 14.12.2013 23:45, schrieb Sami Mäntysaari:
Hello all readers of the list,
I wish to get Microsoft Outlook 2010 workin with mail-stack-delivery setup.
Logs when trying to setup accaunt in Microsoft Outlook 2010: whatever "mail-stack-delivery" is meant to be
Dec 14 22:40:58 ip-172-31-7-147 dovecot: pop3-login: Disconnected (tried to use disabled plaintext auth)
don't disable plaintext authentication *or* configure the client to *not* use plaintext auth
there is nothing between
mail-stack-delivery sounds like buzz word, however i confirm dovecot/postfix working Outlook 2010 with it, so bug is in your setup post your config etc
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Hi Sami,
please read carefully: http://www.dovecot.org/mailinglists.html
You're missing some points:
- Mention the Dovecot version number. Use dovecot --version to get it.
- Use dovecot -n output when showing your configuration
- How does your network setup look like? Which service connects where?
- What would you expect dovecot to do?
- What happens actually?
Regards Daniel
Dipl.-Inf. Daniel Parthey System Engineer Metaways Infosystems GmbH Pickhuben 2, D-20457 Hamburg
E-Mail: d.parthey@metaways.de Web: http://www.metaways.de
Metaways Infosystems GmbH - Sitz: D-22967 Tremsbüttel Handelsregister: Amtsgericht Lübeck HRB 4508 AH Geschäftsführung: Hermann Thaele, Lüder-H.Thaele
Providing the info requested now.
dovecot --version: 2.0.19
dovecot -n: # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-54-virtual x86_64 Ubuntu 12.04.3 LTS ext4 mail_location = maildir:/var/spool/mail/%u managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap pop3 sieve service auth { unix_listener /var/spool/postfix/private/dovecot-auth { group = postfix mode = 0660 user = postfix } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd } protocol imap { imap_client_workarounds = delay-newmail mail_max_userip_connections = 10 } protocol pop3 { mail_max_userip_connections = 10 pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } protocol lda { deliver_log_format = msgid=%m: %$ mail_plugins = sieve postmaster_address = postmaster quota_full_tempfail = yes rejection_reason = Your message to <%t> was automatically rejected:%n%r }
Mail server has IPV4/IPV6 address of: 54.193.41.94 / 2001:470:1f08:ddd::2 Client IPV4 / IPV6 address: 88.195.204.203 / 2001:470:28:743:4923:c01c:c89a:567a
Dovecot should allow Microsoft Outlook 2010 Email Client to connect, but it wont. Outlook tries to use disabled plaintext authenication when it's not able to find encrypted method to log in.
Hope this helps.
15.12.2013 1:20, Daniel Parthey kirjoitti:
Hi Sami,
please read carefully: http://www.dovecot.org/mailinglists.html
You're missing some points:
- Mention the Dovecot version number. Use dovecot --version to get it.
- Use dovecot -n output when showing your configuration
- How does your network setup look like? Which service connects where?
- What would you expect dovecot to do?
- What happens actually?
Regards Daniel
On 2013-12-15 7:29 AM, Sami Mäntysaari <sm@sami-mantysaari.biz> wrote:
dovecot -n: # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-54-virtual x86_64 Ubuntu 12.04.3 LTS ext4 mail_location = maildir:/var/spool/mail/%u managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { driver = pam }
I don't see anything for auth_mechanism or ports to listen on...
Also, 2.0.xxx is no longer supported, best to upgrade at least to latest 2.1, but if you're going to do that might as well go to latest 2.2...
16.12.2013 15:24, Charles Marcus kirjoitti:
On 2013-12-15 7:29 AM, Sami Mäntysaari <sm@sami-mantysaari.biz> wrote:
dovecot -n: # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-54-virtual x86_64 Ubuntu 12.04.3 LTS ext4 mail_location = maildir:/var/spool/mail/%u managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { driver = pam }
I don't see anything for auth_mechanism or ports to listen on...
Also, 2.0.xxx is no longer supported, best to upgrade at least to latest 2.1, but if you're going to do that might as well go to latest 2.2...
Just FYI: I'm using Ubuntu and I wish NOT to build it from source so unless it's in the Ubuntu's Package Repos then I'm not going to upgrade.
16.12.2013 18:28, Sami Mäntysaari kirjoitti:
16.12.2013 15:24, Charles Marcus kirjoitti:
On 2013-12-15 7:29 AM, Sami Mäntysaari <sm@sami-mantysaari.biz> wrote:
dovecot -n: # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-54-virtual x86_64 Ubuntu 12.04.3 LTS ext4 mail_location = maildir:/var/spool/mail/%u managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { driver = pam } I don't see anything for auth_mechanism or ports to listen on...
Also, 2.0.xxx is no longer supported, best to upgrade at least to latest 2.1, but if you're going to do that might as well go to latest 2.2...
Just FYI: I'm using Ubuntu and I wish NOT to build it from source so unless it's in the Ubuntu's Package Repos then I'm not going to upgrade. Also I'm using Postifx + Dovecot integration called: mail-stack-delivery. I have no clue why there are no ports or auth_mechanism mayb 'cuz Dovecot does NOT know where to look for the configs?
Am 16.12.2013 17:32, schrieb Sami Mäntysaari:
Just FYI: I'm using Ubuntu and I wish NOT to build it from source so unless it's in the Ubuntu's Package Repos then I'm not going to upgrade. Also I'm using Postifx + Dovecot integration called: mail-stack-delivery. I have no clue why there are no ports or auth_mechanism mayb 'cuz Dovecot does NOT know where to look for the configs?
ask the "mail-stack-delivery" integrators how they did the config while ask yourself if you may have changed things at the wrong place
you are here on the *upstream* list
i use a SINGLE config file and already posted you yesterday the needed value, working this way on any local/development/production server i maintain
[root@rh:~]$ cat /etc/dovecot/dovecot.conf | grep mech auth_mechanisms = CRAM-MD5 DIGEST-MD5 APOP LOGIN PLAIN SCRAM-SHA-1
On 2013-12-14 6:20 PM, Daniel Parthey <d.parthey@metaways.de> wrote:
- Mention the Dovecot version number. Use dovecot --version to get it.
- Use dovecot -n output when showing your configuration
Don't need the first - dovecot version is included with doveconf -n output.
participants (5)
-
Charles Marcus
-
Daniel Parthey
-
Reindl Harald
-
Robert Schetterer
-
Sami Mäntysaari