[horde] Can't access imaps only server...

Arjen de Korte arjen+horde at de-korte.org
Fri Mar 10 12:43:11 UTC 2017


Citeren Michael Christopher Robinson <plug_1 at robinson-west.com>:

> I have changed my dovecot config to the following:
>
> # 2.0.9: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-642.el6.x86_64 x86_64 CentOS release 6.5 (Final) 
> base_dir = /var/run/dovecot/
> listen = 192.168.5.3, 127.0.0.1
> mail_location = mbox:~/mail:INBOX=/var/mail/%u
> mbox_write_locks = fcntl
>
> passdb {
>   driver = pam
> }
>
> protocols = imap
> service imap-login {
>   inet_listener imap {
>     port = 0
>   }
> }
>
> ssl = required
> ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
> ssl_key = </etc/pki/dovecot/private/dovecot.pem
>
> userdb {
>   driver = passwd
> }
>
> How do I force secure imap on port 993?

If the above is your full Dovecot configuration, you've configured it  
to not listen on any port. If you *really* want to use imaps instead  
of imap, you'd need something along the below:

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

> Even with the imp test script I can't connect to the mail server...

What is netstat saying?

     netstat -pan --protocol=inet,inet6|grep dovecot

should show you if it is listening on *any* port.



More information about the horde mailing list