[Dovecot] Exposing masteruser info to cllients via lmtp-proxy connections
4 Mar
2013
4 Mar
'13
12:54 a.m.
Hello,
Please somebody suggest me how to remove the "*masteruser" appendix from the dovecot director database while using masteruser authentication.
My situation is:
- all users get authenticated in LDAP on the dovecot-director frontend
- then they are forwarded to dovecot backend as username*masteruser ( this is a way how to proxy users with encrypted passwords). To enable it a added an extra field in LDAP-dovecot configuration: destuser=%u*masteruser
This works OK, but problems are:
- I have lmtp-proxy on the dovecot frontend and I have to use the same "%u*masteruser" field in lmtp passdb because the director thinks that me@mail.com and me@mail.com*masteruser are different users and would send lmtp-proxy connections to other dovecot backend. Here is a problem: "Delivery-To" and "Received" fields in any email contains "*masteruser" ! I need to remove any mentions about "masteruser" authentication from client emails.
Also another little problem:
- If I run "doveadm status" tool then to get user's data I need to specify user as "username*masteruser"
Thank you in advance.
Alexandr Sabitov Netregistry
20 Mar
20 Mar
6:52 p.m.
On 4.3.2013, at 0.54, Alexandr Sabitov alexandr.sabitov@netregistry.com.au wrote:
Please somebody suggest me how to remove the "*masteruser" appendix from the dovecot director database while using masteruser authentication.
Not sure about how to fix that, but maybe you can get rid of the *masteruser completely? Instead of using that, just return "master=masteruser" field. http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy#Master_password
4265
Age (days ago)
4282
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandr Sabitov
-
Timo Sirainen