![]() |
dovecot MasterUser
Hi guys,
Trying to follow this: http://wiki.dovecot.org/Authentication/MasterUsers To let me set up a master user so that I can migrate all mail away from ISPConfig for one domain. I made a new boolean field on the mail_user table called "master_user". I set this to '1' for all desired users. Here is a snippet from my dovecot.conf & then the 2 sql queries I am using. Code:
auth_master_user_separator=* Code:
default_pass_scheme = CRYPT Code:
default_pass_scheme = CRYPT 1 login user@mydomain.com*master@mydomain.com masterPassword Can anyone tell me what I am doing incorrectly? |
After posting this, I see one problem - which is ofc my sql-master password query is returning, user & password.
I've updated this....testing. |
Here's my updated dovecot-sql-master.conf:
Code:
password_query = SELECT 'masterPassword' as password FROM mail_user WHERE login = '%u' AND master_user = trueI can auth just fine as a user I know the password for: 1 login username@mydomain.com passWord |
ISPConfig uses standard maildir format like most other Linux mail servers, so you can just copy over the maildirs to your new server without the need of a master user.
|
Hi till,
Sorry - been away for a few days. Thanks for the reply! We are moving to a non maildir setup though - so it would be great to use imapsync. Can you offer any tips here? Thx, quick |
Have you considered to set the same password for all users of that domain temporarily in the ispconfig mysql database for the migration?
|
| All times are GMT +2. The time now is 14:37. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.