hi
i write a program for this
http://www.EnderUNIX.ORG
here is description:
-----------------------

EnderUNIX Vpwd2SQL is a tool, written in PERL that is used to
convert '/etc/shadow or /etc/master.passwd' accounts to
vpopmail accounts. It does the conversion this way ;

1. reads /etc/shadow or /etc/master.passwd to extract
user information.
2. creates the domain in the MySQL database.
3. creates the accounts in the database, correctly
updating the 'passwords in the database' with the
existing (shadow) password.
4. If exists, any /var/spool/mail/$user or /var/mail/$user mailboxes are
converted to $HOME/Maildir/ mails.
5. changing sqwebmail password (sqwebmail-pass file in $user Maildir
directory ) , so $user can login from sqwebmail without any problem

bye


Ismail  YENIGUL
http://www.enderunix.org
http://yenigul.net



On Wed, 1 Aug 2001, KK wrote:

> hello Aadish -
>
> i think u can use the vconvert command found in the
> /home-directory-of-vpopmail/bin/ folder to convert ur
> accounts to MySql. just read the man page for
> vconvert.
>
> Btw, will u pls let me know how have u been using
> /etc/passwd file for email user authentication? How do
> u dynamically create new email users and append their
> data to the /etc/passwd file? Do u use the Unix
> "adduser" command, if yes how do u do it because the
> adduser command has only "root" permission and any
> command run from a remote browser runs as "nobody".
> thanks for any suggestions/help.
>
> --- Aadish Shrestha <[EMAIL PROTECTED]>
> wrote:
> > Hi
> >
> > I've just configured a fresh mail server with qmail
> > and vpopmail. Vpopmail
> > uses mysql db. NOw i need to migrate my users from
> > old mail server to this
> > one. I'm using only qmail in the older server with
> > authentication from flat
> > password file /etc/passwd.
> >
> > HOw can i acheive this??
> >
> >
> > Aadish
>
>
> =====
> KK
> [EMAIL PROTECTED], [EMAIL PROTECTED]
> Associate
> Netesoft India Ltd.
> http://www.netesoft.com
> P: 91.40.6319813
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>

Reply via email to