Dave Taylor wrote:
Hello list,
I am moving from a src install of qmail, using a flatfile database I
assume, to the qmail-toaster using a mysql 5.0 database. I searched
to see how I would go about migrating my users to the new system and
see that someone came up with a script that copies the
username/password/domain/etc to a file and used a script to populate
the new database. I suppose I can do the same thing.
I use vmailmgrd to manage my virtual users. I think it store its info
in passwd.cdb, but I don't know how to extract them out.
I would like to know where else the username/password/domain/etc info
is kept so I can create such a script. If someone has a script ready
made, that would be sweet ;)
Thanks in advance for your help.
I found vmailmgrd has dumpvuser. This file produced this information on
a real mailbox and an alias:
[EMAIL PROTECTED] commands]$ ./dumpvuser child_god
Name: child_god
Encrypted-Password: <snip>
Directory: ./users/child_god
Forward: [EMAIL PROTECTED]
Hard-Quota: N/A
Soft-Quota: N/A
Message-Size-Limit: N/A
Message-Count-Limit: N/A
Creation-Time: 1114482639
Expiry-Time: N/A
Has-Mailbox: true
Mailbox-Enabled: true
[EMAIL PROTECTED] commands]$ ./dumpvuser fedex
Name: fedex
Encrypted-Password: *
Directory:
Forward: marsel
Hard-Quota: N/A
Soft-Quota: N/A
Message-Size-Limit: N/A
Message-Count-Limit: N/A
Creation-Time: 1136998056
Expiry-Time: N/A
Has-Mailbox: false
Mailbox-Enabled: true
Can someone provide a hint as to how I am to import this into the Mysql db?
Thanks!
Dave T
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]