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