no Authnticationmethode from outlook to Imap
Christian Kivalo
ml+dovecot at valo.at
Sat Feb 11 19:07:22 UTC 2017
Am 11. Februar 2017 17:08:55 MEZ schrieb Maurizio Caloro <mauric at gmx.ch>:
>Thanks for your feedback......
>
>I use 143 and if using 993 tell the system the the Certificate are
>wrong ???
You are using a self-signed certificate and the certificate. That is ok, you need to make outlook accept the certificate. I don't know outlook but maybe you get a message and can accept the certificate?
For a secure connection on port 143 enable the use of starttls in your outlook account, this way encryption is enabled after the initial connect to dovecot.
Connection to port 993 (imaps) is encrypted from the start and secure too.
To get rid of the certificate warning you need a proper certificate from e.g. lets encrypt
>root at caloro:/etc/dovecot/conf.d# doveconf -n
># 2.2.13: /etc/dovecot/dovecot.conf
># OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.7
>auth_mechanisms = plain login
>debug_log_path = /var/log/mail.log
>info_log_path = /var/log/mail.log
>log_path = /var/log/mail.log
>mail_access_groups = vmail
>mail_location = mbox:~/mail
>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
>namespace inbox {
> inbox = yes
> location =
> mailbox Drafts {
> special_use = \Drafts
> }
> mailbox Junk {
> special_use = \Junk
> }
> mailbox Sent {
> special_use = \Sent
> }
> mailbox "Sent Messages" {
> special_use = \Sent
> }
> mailbox Trash {
> special_use = \Trash
> }
> prefix =
>}
>passdb {
> args = scheme=CRYPT username_format=%u /etc/dovecot/users
> driver = passwd-file
>}
>plugin {
> sieve = ~/sieve/.dovecot.sieve
> sieve_dir = ~/sieve
>}
>postmaster_address = postmaster at caloro.ch
>protocols = " imap sieve pop3"
>service auth {
> unix_listener /var/spool/postfix/private/auth {
> group = postfix
> mode = 0660
> user = postfix
> }
> unix_listener auth-client {
> mode = 0660
> user = mail
> }
>}
>ssl_cert = </etc/dovecot/dovecot.pem
>ssl_key = </etc/dovecot/private/dovecot.pem
>userdb {
> args = username_format=%u /etc/dovecot/users
> driver = passwd-file
>}
>protocol lda {
> mail_plugins = " quota sieve"
>}
>protocol imap {
> mail_plugins = " quota imap_quota"
>}
>root at caloro:/etc/dovecot/conf.d#
>
>
>
>-----Ursprüngliche Nachricht-----
>Von: dovecot [mailto:dovecot-bounces at dovecot.org] Im Auftrag von
>Christian
>Kivalo
>Gesendet: Samstag, 11. Februar 2017 16:24
>An: dovecot at dovecot.org
>Betreff: Re: no Authnticationmethode from outlook to Imap
>
>
>
>On 2017-02-11 15:45, Maurizio Caloro wrote:
>> Hello
>>
>> Debian, with postfix and Dovecot Imap "2.2.13" running.
>>
>>
>>
>> If I want connect from Outlook or Thunderbird I will become this
>error:
>> Plaintext disalowd on non secure SSL/TLS Connection.
>>
>> but I will that this run with secure connection, I don't have any
>> intention to use Plaintext auth.
>
>How is your Outlook account set up? Which port is configured in your
>Outlook
>account?
>Port 143 using starttls or port 993 ssl?
>
>> Also I don't know why, dovecot will switch from IMAP --> POP3-Login.
>> Or it's this Outlook that will ask for it.
>
>Dovecot does not switch from imap to pop3. Your Outlook seems to be
>configured for pop3 access.
>
>---
>
>>
>> 10-ssl.conf
>>
>> SSL = yes
>>
>> 10-auth.conf
>>
>> disable_plaintext_auth = yes
>>
>> Mail.log
>>
>> pop3-login: Info: Disconnected (tried to use disallowed plaintext
>> auth):
>> user=<>, rip=IP, lip=ip, session=<bnmZNB1AUZ+Blw>
>
>Provide the output of doveconf -n for better help.
>
>>
>>
>> Regards
>
>--
> Christian Kivalo
More information about the dovecot
mailing list