[Dovecot] How to avoid "authenticated user not found" - messages when using multiple Ldap userdbs/passdbs?
Following:
We've got a Dovecot 1.0.10 running on Ubuntu Hardy. Till now we used to have only mail accounts under our own domain, but since we're also a webhoster the people began to ask if there is a possibility to use there own Domains in there mail address.
For addressing this we changed our Ldap Tree Structur: users which had been there befor remain in there old subtree, new accounts for Virtual Domains are located below an "vd=<domain>,ou=domains,..." subtree.
The main Problem at this: old users are used to login only with their username and password, new users has to login via their complete mail address and their password. This is not going to change in the future so I tried to do this:
Using two userdb/passdb - entries, in each case one for the old users and one for the new ones. If a user is not found through the first request the second is tried. If this failed too, the user gets rejected.
The Problem with this: when not found during the first try the request logs an "authenticated user ot found" - message, no matter if trying via the second etry is successful.
Is there a way to tell dovecot, that the user is not "not found" until __both__ requests failed?
Regards Sebastian
El 16/12/10 14:50, Sebastian Urbanneck escribió:
Following:
We've got a Dovecot 1.0.10 running on Ubuntu Hardy. Till now we used to have only mail accounts under our own domain, but since we're also a webhoster the people began to ask if there is a possibility to use there own Domains in there mail address.
Try with a pop/imap proxy as perdition, and route based on
@domain1, @domain2 to the right mail-backend (or route based in mailHost attibute via ldap search)
Regards
Javier
On 2010-12-16 8:55 AM, Javier de Miguel Rodríguez wrote:
El 16/12/10 14:50, Sebastian Urbanneck escribió:
Following:
We've got a Dovecot 1.0.10 running on Ubuntu Hardy. Till now we used to have only mail accounts under our own domain, but since we're also a webhoster the people began to ask if there is a possibility to use there own Domains in there mail address.
Try with a pop/imap proxy as perdition, and route based on @domain1, @domain2 to the right mail-backend (or route based in mailHost attibute via ldap search)
Also, 1.0 is old, you should seriously consider upgrading to at least current 1.2.#, if not 2.0.#...
--
Best regards,
Charles
On 16.12.2010 15:25, Charles Marcus wrote:
On 2010-12-16 8:55 AM, Javier de Miguel Rodríguez wrote:
El 16/12/10 14:50, Sebastian Urbanneck escribió:
Following:
We've got a Dovecot 1.0.10 running on Ubuntu Hardy. Till now we used to have only mail accounts under our own domain, but since we're also a webhoster the people began to ask if there is a possibility to use there own Domains in there mail address. Try with a pop/imap proxy as perdition, and route based on @domain1, @domain2 to the right mail-backend (or route based in mailHost attibute via ldap search) Also, 1.0 is old, you should seriously consider upgrading to at least current 1.2.#, if not 2.0.#...
I'm not really sure what helped: upgrading to 1.2 or using a fresh dovecot.conf and migrating the old configurations into it. Whatever the annoying message is gone. Thanks to both of you :)
participants (3)
-
Charles Marcus
-
Javier de Miguel Rodríguez
-
Sebastian Urbanneck