Page 1 of 1

Solved: dovecot disable imap but keep imaps

Posted: Sun Nov 23, 2014 10:34 pm
by mister_v
Hi,

I have just installed dovecor version 2.2.13
I want to use ssl on imap (imaps),
but when I set it in protocols it doesn't work

Code: Select all

protocols = imaps
and when I runs with imap
it runs both imap and imaps.

But I don't want imap

Can anyone help me?

Re: dovecot disable imap but keep imaps

Posted: Mon Nov 24, 2014 8:22 am
by chris
You can set inet_listener imap to port 0 (= off)
/etc/dovecot/dovecot.conf

Code: Select all

protocols = imap

service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}