I am using mysql to store my users and mailbox information on my email server (postfix & dovecot). And I am using Postfix Admin as my front end to manage domains, users and such.

I want to replace mysql with ldap server.

Somehow, I need to find a way to create the same or similar structure of mysql schema on ldap server.

I am not expecting a tool, magic wand to make that conversion but what is the easiest and right approach to do this?

Any sample, documentation etc etc would help greatly.