[Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze
Patrick Domack
patrickdk at patrickdk.com
Mon Mar 18 13:11:22 EET 2013
Are you sure you wheren't looking at the ldap communication for the
username+password instead of imap?
Is ldap configured to use ssl?
Quoting pvsuja <pvsuja at gmail.com>:
> Yes,
> proxy log says that its over TLS.
> but the server is receiving username and password in plain text. I verified
> it in wireshark.
> I am using squirrelmail web client n had configured it for STARTTLS.
>
>
> *My dovecot settings for Server:*
>
> suja at mailserver:/etc/dovecot# dovecot -n
> # 1.2.15: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.6 ext3
> log_timestamp: %Y-%m-%d %H:%M:%S
> ssl: required
> ssl_cert_file: /etc/postfix/certs/public_cert.pem
> ssl_key_file: /etc/postfix/certs/private_key.pem
> login_dir: /var/run/dovecot/login
> login_executable: /usr/lib/dovecot/imap-login
> mail_privileged_group: mail
> mail_location: maildir:/email/%n:INBOX=/email/%n/INBOX
> mbox_write_locks: fcntl dotlock
> auth default:
> mechanisms: plain login
> passdb:
> driver: ldap
> args: /etc/dovecot/dovecot-ldap.conf
> userdb:
> driver: ldap
> args: /etc/dovecot/dovecot-ldap-userdb.conf
>
>
>
>
> *My dovecot settings for Proxy:*
>
> suja at mailproxy:/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
> mail_gid = imapproxy
> mail_home = /home/imapproxy/%u
> mail_location = imapc:~/imapc
> mail_uid = imapproxy
> passdb {
> args = host=10.131.1.16
> default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
> driver = imap
> }
> protocols = imap
> service auth {
> inet_listener {
> port = 12345
> }
> }
> ssl = required
> ssl_ca = </usr/lib/ssl/misc/demoCA/cacert.pem
> ssl_cert = </usr/lib/ssl/misc/public_cert.pem
> ssl_key = </usr/lib/ssl/misc/private_key.pem
> userdb {
> driver = prefetch
> }
>
>
> Thanks & regards,
>
> Suja
>
>
>
>
> --
> View this message in context:
> http://dovecot.2317879.n4.nabble.com/dovecot-2-in-ubuntu-12-04-or-Debian-Squeeze-tp40634p40862.html
> Sent from the Dovecot mailing list archive at Nabble.com.
More information about the dovecot
mailing list