Moving a local domain to sql

kremels kremels at mail.covisp.net
Wed Apr 22 20:53:11 UTC 2015


On 2015-04-21 22:49, Steffen Kaiser wrote:
> On Tue, 21 Apr 2015, @lbutlr wrote:
>> I have a domain that current maps to local users that I want to move 
>> into the mysql maps with all the other domains, but I am unsure of the 
>> best way to proceed with this.
> an userdb may overwrite anything, so you could configure your SQL
> userdb to return exactly the same results you got for your local user.

Ah, that's an idea, but I think in this case moving the domain into the 
sql DB is the way to go.

> It also is a question, which username kremels is going to use to login

the mysql users use user at domain.tld to login. The users for the domain 
will have to update their login information.

> and how the LMTP/LDA (if you use it) work. If you use procmail, you
> probably need to configure procmail as well.

Procmail and dovecot have not gotten along very well for me, so I am not 
moving the accounts that need procmail. I can get it to work, but it is 
far more fragile than just regular procmail with local user LDA.

> I moved my system users to LDAP with Dovecot v1, when moving to
> Dovecot v2 I moved them to virtual users and one or three system
> users. Noone noticed the change.

These are not system users (that is, system users are @covisp.net) but 
they map to system users. for example, one of the accounts is 
info at example.com but maps to the local user user-example.

Thanks for the reply, I think this is doable.



More information about the dovecot mailing list