[resolu] dovecot 2.1.7 : service auth est tombé

Bonjour,

Sur une debian avec une configuration postfix/dovecot/ldap qui fonctionnait bien jusque ce matin … avant de faire la mise à jour de dovecot. J’ai maintenant des erreurs dovecot.

J’avais précédemment réglé le problème, mais il est revenu. Et cette fois ci je n’arrive pas à le résoudre …

Mon dovecot -n:

[code]# dovecot -n

2.1.7: /etc/dovecot/dovecot.conf

OS: Linux 3.10.23-xxxx-grs-ipv6-32 i686 Debian 7.5

log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_debug = yes
mail_gid = 8
mail_location = maildir:~/Maildir
mail_privileged_group = mail
mail_uid = 500
passdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
plugin {
quota = maildir
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=100M
}
protocols = imap pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0777
user = postfix
}
unix_listener auth-master {
group = mail
mode = 037777777777
user = vmail
}
user = vmail
}
ssl_cert = </etc/dovecot/ssl/dovecot-mail.example.net.crt
ssl_key = </etc/dovecot/ssl/key/dovecot-mail.example.net.key
userdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
protocol imap {
mail_plugins = quota imap_quota autocreate
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = postmaster@example.com
}[/code]

Mais dans les logs:

Jun 11 14:30:30 belar postfix/pipe[24504]: 590819E6943: to=<user@example.net>, relay=dovecot, delay=543, delays=542/1.1/0/0.06, dsn=4.3.0, status=deferred (temporary failure) Jun 11 14:30:31 belar dovecot: auth: Error: userdb(user@example.net): client doesn't have lookup permissions for this user: userdb reply doesn't contain uid (change userdb socket permissions) Jun 11 14:30:31 belar dovecot: lda: Error: user user@example.net: Auth USER lookup failed Jun 11 14:30:31 belar dovecot: lda: Debug: auth input: Jun 11 14:30:31 belar dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information. Jun 11 14:30:31 belar postfix/pipe[24505]: 753CC9E6941: to=<user@example.net>, relay=dovecot, delay=1416, delays=1414/2.2/0/0.07, dsn=4.3.0, status=deferred (temporary failure)

J’ai essayé en supprimant unix_listener auth-master …

En modifiant les droits, en passant sur

unix_listener /var/spool/postfix/private/auth { group = mail mode = 0777 user = postfix }

Ce qui fonctionne pour dovecot:

unix_listener auth-userdb { mode = 0777 user = postfix group = postfix } Mais dans ce cas, postfix tombe avec:

Jun 11 14:13:19 belar postfix/smtpd[22480]: connect from mail-wg0-f47.example.com[xxxxx] Jun 11 14:13:19 belar postfix/smtpd[22480]: Anonymous TLS connection established from mail-wg0-f47.example.com[xxxxxxx]: TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits) Jun 11 14:13:19 belar postfix/smtpd[22480]: warning: SASL: Connect to private/auth failed: Connection refused Jun 11 14:13:19 belar postfix/smtpd[22480]: fatal: no SASL authentication mechanisms Jun 11 14:13:20 belar postfix/master[19694]: warning: process /usr/lib/postfix/smtpd pid 22480 exit status 1 Jun 11 14:13:20 belar postfix/master[19694]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

Je sais qu’il faut sans doute que je refasse ma configuratio de A à Z, mais dans un premier temps, j’aimerais juste retrouver un téat fonctionnale.

Une idée ?

Denis

Résolu …

service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0777 user = postfix } unix_listener auth-userdb { group = mail mode = 0600 user = vmail } unix_listener auth-master { group = mail mode = 0600 user = vmail } user = vmail }Je suppose que dovecota va chercher unix_listener auth-userdb dans ce cas ???