1

Topic: Outlook does not connect without SSL

Hello, I'm doing some testing with this version: even putting in the dovecot conf "disable_plaintext_auth = no ssl = yes and" outlook (2010) does not connect without SSL.

I looked at the logs, in this version imap responds:
CAPABILITY
IMAP4rev1
Literal +
SASL-IR
LOGIN-REFERRALS
ID
ENABLE
SORT
SORT = DISPLAY
THREAD = REFERENCES
THREAD = refs
MULTIAPPEND
Unselect
IDLE
CHILDREN
NAMESPACE
UIDPLUS
LIST-EXTENDED
I18NLEVEL = 1
CONDSTORE
QRESYNC
esearch
Apost
SEARCHRES
WITHIN
CONTEXT = SEARCH
LIST-STATUS
SHARE
STARTTLS
LOGINDISABLED

missing:
AUTH = PLAIN
AUTH = LOGIN

Does anyone know how to fix?

2

Re: Outlook does not connect without SSL

Sabbiolina wrote:

even putting in the dovecot conf "disable_plaintext_auth = no ssl = yes and" outlook (2010) does not connect without SSL.

- These two settings exists in dovecot.conf by default, so please update them instead of adding new settings.
- Did you restart Dovecot service after modified dovecot.conf?

3 (edited by Sabbiolina 2012-05-11 07:25:02)

Re: Outlook does not connect without SSL

Sure, Restarted.

from dovecot.conf

# With disable_plaintext_auth=yes, STARTTLS is mandatory.
# Set disable_plaintext_auth=no AND ssl=yes to allow plain password transmitted
# insecurely.


# 20121005--> disable_plaintext_auth = yes
disable_plaintext_auth=no
ssl=yes

#20121005<-- end mod

4

Re: Outlook does not connect without SSL

Show me output of command "dovecot -n" please.

5

Re: Outlook does not connect without SSL

# 1.2.16: /etc/dovecot.conf
# OS: Linux 2.6.18-308.4.1.el5 i686 CentOS release 5.8 (Final)
log_path: /var/log/dovecot.log
protocols: pop3 pop3s imap imaps managesieve
listen(default): *
listen(imap): *
listen(pop3): *
listen(managesieve): 127.0.0.1:2000
ssl: required
ssl_ca_file: /etc/pki/tls/certs/iRedMail_CA.pem
ssl_cert_file: /etc/pki/tls/certs/iRedMail_CA.pem
ssl_key_file: /etc/pki/tls/private/iRedMail.key
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_executable(managesieve): /usr/libexec/dovecot/managesieve-login
last_valid_uid: 500
mail_uid: 500
mail_gid: 500
mail_location: maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_executable(managesieve): /usr/libexec/dovecot/managesieve
mail_process_size: 1024
mail_plugins(default): quota imap_quota autocreate
mail_plugins(imap): quota imap_quota autocreate
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/managesieve
imap_client_workarounds(default): tb-extra-mailbox-sep
imap_client_workarounds(imap): tb-extra-mailbox-sep
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: shared
  separator: /
  prefix: Shared/%%u/
  location: maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
  list: children
  subscriptions: yes
lda:
  postmaster_address: root
  auth_socket_path: /var/run/dovecot/auth-master
  mail_plugins: quota sieve autocreate
  sieve_global_path: /var/vmail/sieve/dovecot.sieve
  log_path: /var/log/sieve.log
auth default:
  mechanisms: plain login
  default_realm: XXXXXXX.com
  user: vmail
  passdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
  userdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/dovecot-auth
      mode: 438
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 438
      user: vmail
      group: vmail
plugin:
  quota_warning: storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
  quota_warning2: storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
  quota_warning3: storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
  quota: dict:user::proxy::quotadict
  quota_rule: *:storage=0
  expire: Trash 7 Trash/* 7 Junk 30
  expire_dict: proxy::expire
  auth_socket_path: /var/run/dovecot/auth-master
  sieve: /%Lh/sieve/dovecot.sieve
  autocreate: INBOX
  autocreate2: Sent
  autocreate3: Trash
  autocreate4: Drafts
  autocreate5: Junk
  autosubscribe: INBOX
  autosubscribe2: Sent
  autosubscribe3: Trash
  autosubscribe4: Drafts
  autosubscribe5: Junk
  acl: vfile
  acl_shared_dict: proxy::acl
  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
  sieve_dir: /var/vmail/sieve/%Ld/%Ln
dict:
  expire: db:/var/lib/dovecot/expire/expire.db
  quotadict: mysql:/etc/dovecot-used-quota.conf
  acl: mysql:/etc/dovecot-share-folder.conf

6

Re: Outlook does not connect without SSL

I see "ssl: required" in the output.

7

Re: Outlook does not connect without SSL

So what changes do you have to configure Dovecot?
One suggested does not work.

8

Re: Outlook does not connect without SSL

As mentioned in previous email, just below two:

disable_plaintext_auth=no
ssl=yes

9 (edited by Sabbiolina 2012-05-12 00:19:12)

Re: Outlook does not connect without SSL

Solved

ssl = required in another line....

10

Re: Outlook does not connect without SSL

Then show me output of 'dovecot -n' again, please make sure you don't have "ssl: required" in output.
Also, make sure you don't have duplicate "ssl=" in dovecot.conf.

11

Re: Outlook does not connect without SSL

Solved

ssl = required in another line....