[Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze
pvsuja
pvsuja at gmail.com
Tue Mar 19 07:56:36 EET 2013
I am using imap passwd driver for proxy and ldap for server.
proxy will contact mail server for authentication which in turn will contact
ldap server.
the server auth with ldap is already tested and its working fine.
now i guess i got the auth working properly; but not the mail retrieval
through imapc from the logs:
Mar 19 09:33:16 mailspace dovecot: imap-login: Debug: SSL: where=0x2002,
ret=1: SSL negotiation finished successfully [127.0.0.1]
Mar 19 09:33:16 mailspace dovecot: imap-login: Login: user=<suja>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=26029, TLS,
session=<P5ZiLz/YsQB/AAAB>
Mar 19 09:33:16 mailspace dovecot: imap(suja): Invalid certificate: self
signed certificate in certificate chain: /C=IN/ST=Karnataka/O=xxx/OU=YYY
CA/CN=mailserver.domain.com/emailAddress=sysadm at domain.com
Mar 19 09:33:16 mailspace dovecot: imap(suja): Error:
imapc(10.131.1.16:143): Received invalid SSL certificate
Mar 19 09:33:16 mailspace dovecot: imap(suja): Error:
imapc(10.131.1.16:143): Authentication failed: Disconnected from server
Mar 19 09:33:16 mailspace dovecot: imap(suja): Error: imapc: Command failed:
Disconnected from server
Mar 19 09:33:16 mailspace dovecot: imap(suja): Error: user suja:
Initialization failed: Initializing mail storage from mail_location setting
failed: imapc: LIST failed: Internal error occurred. Refer to server log for
more information. [2013-03-19 09:33:16]
Mar 19 09:33:16 mailspace dovecot: imap(suja): Error: Invalid user settings.
Refer to server log for more information.
Mar 19 09:33:16 mailspace dovecot: imap-login: Warning: SSL alert:
where=0x4008, ret=256: warning close notify [127.0.0.1]
with the following dovecot conf:
root at mailspace:/usr/local/etc/dovecot# dovecot -n
# 2.1.15: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-35-generic-pae i686 Ubuntu 12.04.1 LTS
auth_mechanisms = plain login
imapc_host = 10.131.1.16
imapc_ssl = starttls
imapc_ssl_ca_dir = /usr/local/etc/dovecot/certs
mail_gid = imapproxy
mail_home = /home/imapproxy/%u
mail_location = imapc:~/imapc
mail_uid = imapproxy
passdb {
args = host=10.131.1.16 ssl=starttls
ssl_ca_dir=/usr/local/etc/dovecot/certs
default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
ssl=starttls
driver = imap
}
protocols = imap
service auth {
inet_listener {
port = 12345
}
}
ssl = required
ssl_ca = </usr/local/etc/dovecot/certs/cacert.pem
ssl_cert = </usr/local/etc/dovecot/certs/public_cert.pem
ssl_key = </usr/local/etc/dovecot/certs/private_key.pem
userdb {
driver = prefetch
}
verbose_ssl = yes
I guess my SSL certificate configuration is not done properly.
--
View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-2-in-ubuntu-12-04-or-Debian-Squeeze-tp40634p40888.html
Sent from the Dovecot mailing list archive at Nabble.com.
More information about the dovecot
mailing list