Hello all!

#pkg_info | grep dovecot
dovecot-1.1.3_1
dovecot-managesieve-0.10.3
dovecot-sieve-1.1.5_1

Im trying to do this:
Im have a LDAP account with multiple "mail" field like this(many strings cuted):

dn: uid=k.proskurin,ou=Users,dc=Moscow,dc=CAS
uid: k.proskurin
userPassword: {CRYPT}$1$ETadxf6G$O2bNUQVSHxksUp08V/iY2.
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]

My dovecot user "mail" as login:

user_filter = (&(objectClass=mailUser)(mail=%u))
pass_attrs = mail=user,userPassword=password
pass_filter = (&(objectClass=mailUser)(mail=%u))

All seems work well before im add second mail field in account.
In logs in see this:

----

Info: auth(default): client in: AUTH 1 PLAIN service=imap secured lip=172.16.1.19 rip=172.16.1.19 lport=143 rport=64575 resp=<hidden>

Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.19): pass search: base=dc=CAS scope=subtree filter=(&(objectClass=mailUser)([EMAIL PROTECTED])) fields=mail,userPassword Info: auth(default): auth([EMAIL PROTECTED],172.16.1.19): username changed [EMAIL PROTECTED] -> [EMAIL PROTECTED]

Info: auth(default): auth([EMAIL PROTECTED],172.16.1.19): username changed [EMAIL PROTECTED] -> [EMAIL PROTECTED]

Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.19): result: userPassword(password)=<hidden> mail(user)[EMAIL PROTECTED]/[EMAIL PROTECTED]

Info: auth(default): client out: OK    1       [EMAIL PROTECTED]

Info: auth(default): master in: REQUEST        8       38582   1

Info: auth(default): master out: USER 8 [EMAIL PROTECTED] uid=1002 gid=1002 home=/var/spool/dovecot/domains/domain.off/proskurin-kv

Info: imap-login: Login: user=<[EMAIL PROTECTED]>, method=PLAIN, rip=172.16.1.19, lip=172.16.1.19, secured

And in my Thunderbird then im log by [EMAIL PROTECTED] in see [EMAIL PROTECTED] mail.

----

Oh - what is happening? Why it is jump from one to another?
They have differnent login and same password. If it is possible to make this work well?

--
Best regards,
Proskurin Kirill

Reply via email to