Re: [vchkpw] Transfering vpopmail domains

2006-03-04 Thread Michael Krieger
Rick Macdougall wrote: devnull wrote: I've tryed to modify by hand the passwd and the passwd.cdb files changing the path but it dont work any suggestion? You'll need to modify the /var/qmail/users/assign file as well as the vpasswd files.devnull-Your solution of using vadduser in a script worksbecause it is properly updating the cdb file.vpopmail will use the cdb file if they are available,and if not, generate from the vpasswd file.  It soundslike you edited vpasswd, and modified the cdb file (whichdefinately won't work, as the index will be off in thelength changes).  If you just edit vpasswd, on the nextadd/delete user, it will undo your change, because it willread in the cdb file and write out vpasswd and vpasswd.cdb.The solution?  rm ~vpopmail/domains/*/vpasswd.cdb.  Modify~vpopmail/domains/*/vpasswd with the proper paths.  Alsomodify
 ~vpopmail/domains/*/.qmail-default to properly pointto the new vdelivermail location, and make sure the maildirfor default delivery if not bounce-no-mailbox has the newpath.  Also update ~vpopmail/domains/*/.qmail-* to havethe proper aliases (if you have them to maildirs from oldvpopmail versions) and point to the proper location for ezmlmand autorespond if that changed.  Finally edit ~vpopmail/domains/*/*/.qmailto make sure the maildir delivery lines are all pointing tothe right location.I'm not sure how chkuser will mix into this (it may want thecdb files), so if the cdb files don't regenerate for you, justrun vmoduser on each postmaster user toggling a flag (then putit back), such as the no_imap flag.  That should regenerate thecdb properly from vpasswd text file.-M  

Re: [vchkpw] Transfering vpopmail domains

2006-02-25 Thread devnull
Rick Macdougall wrote:
 devnull wrote:
 
 Help !!
 I need to transfer a vpopmail domain from my old server to the new one
 but the old one is installed under /var/vpopmails/domain/* and the new
 under /home/vpopmail/domains/*
 I've tryed to modify by hand the passwd and the passwd.cdb files
 changing the path but it dont work
 any suggestion?
 
 
 You'll need to modify the /var/qmail/users/assign file as well as the
 vpasswd files.  Make sure the path AND the uid/gid are correct.
 
 Regards,
 
 Rick
 
 
Solved !!
My assign file was correct :-|
I think it was an encription problem with hash passwd so, i need to
configure with --disable-md5-passwords..
but I don't wanto to do so... I prefer md5 password so I've done a
little script...

for line in `cat ~/vpasswd2`
do
userid=`echo $line|cut -f1 -d:`
quota=`echo $line|cut -f7 -d:`
passwd=`echo $line|cut -f8 -d:`
if [ $passwd =  ]
then
./vadduser -n -q $quota [EMAIL PROTECTED]
else
./vadduser -q $quota [EMAIL PROTECTED] $passwd
fi
done

It was ok for me...
and for all the ones that have the clear passwd in the last field :-)


Re: [vchkpw] Transfering vpopmail domains

2006-02-24 Thread Rick Macdougall

devnull wrote:

Help !!
I need to transfer a vpopmail domain from my old server to the new one
but the old one is installed under /var/vpopmails/domain/* and the new
under /home/vpopmail/domains/*
I've tryed to modify by hand the passwd and the passwd.cdb files
changing the path but it dont work
any suggestion?


You'll need to modify the /var/qmail/users/assign file as well as the 
vpasswd files.  Make sure the path AND the uid/gid are correct.


Regards,

Rick



Re: [vchkpw] Transfering vpopmail domains

2006-02-24 Thread W.D.McKinney

-Original Message-
From: Rick Macdougall [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 09:16 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] Transfering vpopmail domains

devnull wrote:
 Help !!
 I need to transfer a vpopmail domain from my old server to the new one
 but the old one is installed under /var/vpopmails/domain/* and the new
 under /home/vpopmail/domains/*
 I've tryed to modify by hand the passwd and the passwd.cdb files
 changing the path but it dont work
 any suggestion?

You'll need to modify the /var/qmail/users/assign file as well as the 
vpasswd files.  Make sure the path AND the uid/gid are correct.

Regards,

Rick




Man ...what's up with inter7 ?

The original message was received at Fri, 24 Feb 2006 09:23:42 -0900.

- The following addresses had permanent fatal errors -
[EMAIL PROTECTED] (reason: while talking to a.mx.inter7.com; 554 Your email 
is considered spam (4.10 spam-hits))

I tried to un-subscribe and got this reply.

-Dee