Ya. This shouldnt require a lot of tool creation on your part.
vpopmail should have enough information and tools for this type
of work, so you're lucky in that respect.
Just think through it one step at a time, and you shouldnt have
a problem getting it done :)
> Yea it does...
> Hehe forgot about vuserinfo....
> Over worked does this...
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "dev" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 15, 2003 9:50 AM
> Subject: Re: [vchkpw] move old mail to new dir layout
> > I see what you're trying to do. I do 99% of the conversions/migrations
> > between mail systems here at Inter7, so I know your problem.
> > Try writing a script:
> > * Get the next username
> > * Look up old directory
> > * Look up new directory
> > * Copy files
> > You can get their old directory from the old vpasswd files, and do a
> > vuserinfo | grep home | awk to get their current directory.
> > Hope that helps.
> > dev wrote:
> > >
> > > does anyone have or know of a way to cp -R user/Maildir/* to
> > > new/location/user/Maildir/
> > >
> > > Is this possible without have to do it manually?
> > >
> > > We had a email system up forever using qmail+vpopmail etc. But the old
> > > system used vpasswd files and such.
> > > I made a new system using MySql and spamassassin ...
> > > But I had to add accounts before transferring it over. ALSO I couldn't
> > > tar the domain's dir because people are always getting emails and tar
> > > complain saying that a file was being writen to bleh bleh bleh.
> > > So i made a script and just added everyone into the new system from the
> > > vpasswd file. BUT the dirs of the users are not in the same location. SO
> > > possible or does someone have a way to say read say the old vpasswd and
> > > find that users dir on the new system and then copy that users old
> emails to
> > > the new dir layout?
> > >
> > > Yes I know there is a vconvert. That will not work because all the
> > > are already added.
> > > I just need to move the users old mail from the old system to the new
> > > but I just can't tar and untar because directories are not in the same
> > > places now...
> > >
> > > Hope that makes sense...
> > >
> > > Dev.
> > --
> > mailto:[EMAIL PROTECTED]
> > Matt Brookings - Chief Technical Officer
> > Inter7 Internet Technologies, Inc.
> > www.inter7.com - 847-492-0470
> > Prices at http://www.inter7.com/prices
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices