Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

migrate from an LDAP db export to postfix?

Status
Not open for further replies.

Soopa

MIS
Aug 27, 2004
14
US
I am working with a really old enterprise mail server and we are looking to migrate to a postfix based system. I can easily dump the internal LDAP database to a plain text file, with output like this:
dn: uid=cpraulg
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: mailRecipient
objectclass: nsLicenseUser
uid: cppaulg
nslicensedfor: mail
mail: PaulG@Domain.com
mailhost: mail.Domain.com
sn: Raul G.
cn: Raul G.
maildeliveryoption: mailbox
mailquota: 9000000000
userpassword: {SHA}QQ222222222luet/37dNhEQ=
mailalternateaddress: RaulG@domain.com
mailalternateaddress: RGutierez@domain.com

Are there any migration scripts available to do something like this? I've googled around but apparently my google-foo is not strong for this one (usually the hits came back on how to use postfix against and ldap database). Any advice?

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top