Dave Taylor wrote:
Eric "Shubes" wrote:
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
Hint: write (or modify one you've found) a script that issues the
vqadduser command to add each user. I wouldn't advise trying to import
directly into MySQL.
Note, since you're using MySQL5, be sure to install the version of
vpopmail that's patched for MySQL5 from http://devel.qmailtoaster.com :
vpopmail-toaster-5.4.13-1.3.2.src.rpm: Includes patch to keep MySQL 5
connected.
Thanks for the hint. I couldn't find any info on vqadduser via google,
like it's syntax/format and whatnot, so I will have to wait until I have
the new qmail-toaster installation up and running to check it out.
Regards,
Dave T
Sorry about that, Dave. My bad. The command is
# vadduser [EMAIL PROTECTED] <user-password>
not vqadduser!
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]