Post edited 4:22 am – October 12, 2010 by POKEP
Tommorow I was playing with my dovecot.conf, and now it is not working. In config I played only with protocols, enable and disable imap.
Here is my dovecot.conf
protocols: pop3s
ssl_cert_file: /etc/pki/tls/certs/mail.acis.local.cert
ssl_key_file: /etc/pki/tls/private/mail.acis.local.key
ssl_cipher_list: ALL:!LOW:!SSLv2
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/pop3-login
valid_chroot_dirs: /var/vmail
first_valid_uid: 1001
last_valid_uid: 1001
first_valid_gid: 1001
last_valid_gid: 1001
mail_location: maildir:/var/vmail/%n
mail_executable: /usr/libexec/dovecot/pop3
mail_plugin_dir: /usr/lib/dovecot/pop3
lda:
postmaster_address: postmaster@example.com
auth default:
username_format: %Lu
verbose: yes
debug: yes
passdb:
driver: passwd-file
args: /etc/dovecot/passwd
passdb:
driver: ldap
args: /etc/dovecot-ldap.conf
userdb:
driver: static
args: uid=vmail gid=vmail home=/var/vmail/%n allow_all_users=yes
userdb:
driver: ldap
args: /etc/dovecot-ldap.conf
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
And here is the logs from my /var/log/maillog
Oct 12 12:17:35 mailhost dovecot: auth(default): passwd-file(user,10.64.0.124): lookup: user=user file=/etc/dovecot/passwd
Oct 12 12:17:35 mailhost dovecot: auth(default): passwd-file(user,10.64.0.124): unknown user
Oct 12 12:17:35 mailhost dovecot: auth(default): ldap(user,10.64.0.124): bind search: base=dc=acis,dc=local filter=(&(objectClass=person)(sAMAccountName=user))
Oct 12 12:17:35 mailhost dovecot: auth(default): ldap(user,10.64.0.124): Connection appears to be hanging, reconnecting
Oct 12 12:18:32 mailhost dovecot: pop3-login: Timeout waiting for handshake from auth server. my pid=23768, input bytes=0
Oct 12 12:19:02 mailhost dovecot: pop3-login: Timeout waiting for handshake from auth server. my pid=23768, input bytes=0
Oct 12 12:19:02 mailhost dovecot: pop3-login: Timeout waiting for handshake from auth server. my pid=25004, input bytes=0
PS: This is 100% working config of dovecot.
Help!!! Wat is the problem.