Hi,

a hint for everybody who needs to set up a simple IMAP proxy with Dovecot.
The configuration example from the SOGO Native Microsoft Outlook Configuration
Guide:
> auth_mechanisms = plain login
> imapc_host = inverse.ca
> imapc_port = 993
> imapc_ssl = imaps
> imapc_ssl_verify = no
> mail_gid = imapproxy
> mail_home = /home/imapproxy/%u
> mail_location = imapc:~/imapc
> mail_uid = imapproxy
> passdb {
>   args = host=inverse.ca ssl=imaps port=993 ssl_ca_dir=/etc/pki/tls/certs
>   default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
>   driver = imap
> }
> protocols = imap
> ssl = no
> userdb {
>   driver = prefetch
> }

was not working for me on Centos7 with Dovecot 2.2.10 because Dovecot was 
always crashing
with error:
dovecot: auth: Fatal: master: service(auth): child 11033 killed with signal 11 
(core dumps
disabled)

It seems that driver imap is buggy.
This alternative configuration using driver static did the trick for me:

> auth_mechanisms = plain login
> imapc_host = inverse.ca
> imapc_port = 993
> imapc_ssl = imaps
> imapc_ssl_verify = no
> mail_gid = imapproxy
> mail_home = /home/imapproxy/%u
> mail_location = imapc:~/imapc
> mail_uid = imapproxy
> imapc_user=%u
> passdb {
>   driver = static
>   args = nopassword=y allow_nets=127.0.0.1/32
>   default_fields = userdb_imapc_password=%w
> }
> protocols = imap
> ssl = no
> userdb {
>   driver = prefetch
> }

Best regards
Florian
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to