Juan C. Blanco
2011-Apr-15 16:27 UTC
[Dovecot] Problem login in managesieve with email address
Hello all, I have a installation of dovecot 1.2.16, sieve-0.1.18, managesieve-0.11.12 in dovecot-ldap.conf auth_bind=yes user_attrs = irisMailbox=home,fiMailQuotaSize=quota_rule=*:storage user_filter = (|(uid=%u)(mail=%u)) pass_attrs = userPassword=password,irisMailbox=userdb_home,fiMailQuotaSize=userdb_quota_rule=*:storage pass_filter = (|(uid=%u)(mail=%u)) I'm doing some test to authenticate using the full email address for authentication and this works fine for IMAP and POP3 but dows not work with MANAGESIEVE I have a test machine with dovecot 2.0.12 and pigeonhole-0.2.3 and the results are the same. ?Do you known if there is any reason for this differente behaviour? Activating debug in dovecot this are the difference between IMAP and MANAGESIEVE authenticacion Apr 15 17:43:15 auth: Debug: auth client connected (pid=13832) Apr 15 17:43:15 auth: Debug: client in: AUTH 1 PLAIN service=sieve secured lip=138.100.8.17 rip=138.100.8.42 lport=2000 rport=52828 resp=<hidden> Apr 15 17:43:15 auth: Debug: auth(d0122 at alumnos.fi.upm.es,138.100.8.42,master): Master user lookup for login: d0122 Apr 15 17:43:15 auth: Debug: cache(d0122 at alumnos.fi.upm.es,138.100.8.42,master): hit: Apr 15 17:43:15 auth: Info: cache(d0122 at alumnos.fi.upm.es,138.100.8.42,master): User unknown Apr 15 17:43:17 auth: Debug: client out: FAIL 1 user=d0122 at alumnos.fi.upm.es Apr 15 17:43:17 managesieve-login: Info: Disconnected (auth failed, 1 attempts): user=<d0122 at alumnos.fi.upm.es>, method=PLAIN, rip=138.100.8.42, lip=138.100.8.17, TLS Apr 15 17:43:18 auth: Debug: auth client connected (pid=13833) Apr 15 17:43:18 auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=138.100.8.17 rip=138.100.8.42 lport=993 rport=34094 resp=<hidden> Apr 15 17:43:18 auth: Debug: cache(d0122 at alumnos.fi.upm.es,138.100.8.42): hit: <hidden> userdb_home=/mail/alumnos/d0/d0122 userdb_quota_rule=*:storage=10240 Apr 15 17:43:18 auth: Debug: client out: OK 1 user=d0122 at alumnos.fi.upm.es Apr 15 17:43:18 auth: Debug: master in: REQUEST 413401089 13833 1 42fd9bf31349809a03f19a6a3b9730cc Apr 15 17:43:18 auth: Debug: userdb-cache(d0122 at alumnos.fi.upm.es,138.100.8.42): miss Apr 15 17:43:18 auth: Debug: passwd-file(d0122 at alumnos.fi.upm.es,138.100.8.42): lookup: user=d0122 at alumnos.fi.upm.es file=/nas/mail/etc/passwd.master Apr 15 17:43:18 auth: Info: passwd-file(d0122 at alumnos.fi.upm.es,138.100.8.42): unknown user Apr 15 17:43:18 auth: Debug: prefetch(d0122 at alumnos.fi.upm.es,138.100.8.42): success Apr 15 17:43:18 auth: Debug: master out: USER 413401089 d0122 at alumnos.fi.upm.es home=/mail/alumnos/d0/d0122 quota_rule=*:storage=10240 Apr 15 17:43:18 imap-login: Info: Login: user=<d0122 at alumnos.fi.upm.es>, method=PLAIN, rip=138.100.8.42, lip=138.100.8.17, mpid=13834, TLS Thanks and best regards Juan C. Blanco -- +----------------------------------------------------------------+ | Juan C. Blanco | | | | Centro de Calculo | | | Facultad de Informatica U.P.M. | E-mail: jcblanco at fi.upm.es | | Campus de Montegancedo | | | Boadilla del Monte | Tel.: (+34) 91 336 7466 | | 28660 MADRID (Spain) | Fax : (+34) 91 336 6913 | +----------------------------------------------------------------+