[Dovecot] dovecot.conf authentication after Debian upgrade

Didier Misson didier.linux at gmail.com
Mon Jun 25 12:21:48 EEST 2007


Hello,

I'm new on this mailing list.
I run a Dovecot imaps server since several month on a Debian server.

I just upgrade a Debian server from Debian Sarge --> Etch
and I discover that a lot of parameters have changed (must be changed) in
the dovecot.conf.

I finally find an exemple an try to adapt it to our server.

We never defined special authentification or password scheme.
It was simple the "passwd".

Dovecot is running, but impossible for users to connect  :-(

Actually, this is my dovecot.conf :

======================================

base_dir = /var/run/dovecot/

protocols = imap imaps

protocol imap {
listen = 127.0.0.1:143
ssl_listen = *:993
}

# protocol pop3 {
# # listen = *:110
# # ssl_listen = *:995
# # }

ssl_disable = no

ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem

disable_plaintext_auth = no

log_timestamp = "%Y-%m-%d %H:%M:%S "

login_dir = /var/run/dovecot/login
#login_dir = /var/log/dovecot


login_chroot = yes

login_user = dovecot

login_process_per_connection = yes

login_greeting = Dovecot ready.

first_valid_uid = 1000
last_valid_uid = 0
first_valid_gid = 1
last_valid_gid = 0

mail_extra_groups = mail
# #default_mail_env = mbox:/var/mail/%u
default_mail_env = maildir:~/Maildir

protocol imap {
imap_client_workarounds = outlook-idle delay-newmail netscape-eoh
tb-extra-mailbox-sep
}

# # protocol pop3 {
# # }

auth default {
mechanisms = plain

#####  Didier Misson : must be check !!!


#passdb passwd-file {
#args = /etc/dovecot/pass
#}

#passdb pam {
passdb passwd {
}

#userdb passwd-file {
#args = /etc/dovecot/users
#}

userdb passwd {
}

user = root

}

plugin {

}

=====================================================================

in /var/log/syslog


Jun 25 11:14:02 ks36586 dovecot: Dovecot v1.0.rc15 starting up
Jun 25 11:14:53 ks36586 dovecot: imap-login: Aborted login:
user=<sebastien-descy>, method=PLAIN, rip=62.235.215.24, lip=87.98.219.84,
TLS
Jun 25 11:14:59 ks36586 dovecot: imap-login: Aborted login:
user=<dominique>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jun 25 11:15:01 ks36586 /USR/SBIN/CRON[16295]: (root) CMD
(/usr/local/rtm/bin/rtm 41 >/dev/null 2>/dev/null)


I hope somebody already solved this king of problem.

Thanks a lot.

;-)

-- 
Didier

http://didier.misson.net


More information about the dovecot mailing list