[vchkpw] Upgrading an old vpopmail install
Hey guys, I want to go from vpopmail-4.9.8 to probably 5.2.1, or maybe the unstable branch. This is a live system and I am a bit weary about everything working without as much as 5 minutes of downtime. The only difference that I could see between a new version and the old is the placement of tcp.smtp(.cdb) files. But that is pretty trivial. Everything else was the same. Are there any serious differences that qmail, qmailadmin, courier-imap, etc would care about? I know that there's been a lot of development going on, but from a functional and practical point of view, would qmail use vpopmail in the same exact way?
RE: [vchkpw] Upgrading an old vpopmail install
I personally would recommend installing on a test box so you can play with the software, and learn the new features before you just try to upgrade to live. It's a smooth transition, but always still a good idea. Regards, Tren -Original Message- From: Darek [mailto:darekm@;oakley.nyi.net] Sent: Monday, November 04, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Upgrading an old vpopmail install Hey guys, I want to go from vpopmail-4.9.8 to probably 5.2.1, or maybe the unstable branch. This is a live system and I am a bit weary about everything working without as much as 5 minutes of downtime. The only difference that I could see between a new version and the old is the placement of tcp.smtp(.cdb) files. But that is pretty trivial. Everything else was the same. Are there any serious differences that qmail, qmailadmin, courier-imap, etc would care about? I know that there's been a lot of development going on, but from a functional and practical point of view, would qmail use vpopmail in the same exact way?
Re: [vchkpw] Upgrading an old vpopmail install
On Monday, November 4, 2002, at 09:58 AM, Darek wrote: Hey guys, I want to go from vpopmail-4.9.8 to probably 5.2.1, or maybe the unstable branch. This is a live system and I am a bit weary about everything working without as much as 5 minutes of downtime. The only difference that I could see between a new version and the old is the placement of tcp.smtp(.cdb) files. But that is pretty trivial. Everything else was the same. Are there any serious differences that qmail, qmailadmin, courier-imap, etc would care about? I know that there's been a lot of development going on, but from a functional and practical point of view, would qmail use vpopmail in the same exact way? There are a couple of issues: 1. 5.0+ defaults to clear passwords being on, which alters the number of fields in the vqpasswd structure (vpasswd file, table definitions, etc). There were some problems with backwards compatibility early on, but 5.2.1 should be fine. If you want to be extra cautious, use --enable-clear-passwd=n. 2. Courier-imap will need to be upgraded. Or, you can grab the latest preauchvchkpw.c and recompile your existing version. Regards, Bill
[vchkpw] vconvert
Has anyone had a problem with the vconvert utility. When trying to convert entry's from my /etc/passwd file to a MySql database only two of the entry's get parsed, all other are ignored. Now errors are reported. Their are over 1000 entry's in the passwd file, excluding the system accounts. I am doing a: vconvert -e -m Possible that I'm using it incorrectly ? Thanks, Stephen D. Spicer
Re: [vchkpw] vconvert
On Monday, November 4, 2002, at 11:38 AM, Stephen Spicer wrote: Has anyone had a problem with the vconvert utility. When trying to convert entry's from my /etc/passwd file to a MySql database only two of the entry's get parsed, all other are ignored. Now errors are reported. Their are over 1000 entry's in the passwd file, excluding the system accounts. I am doing a: vconvert -e -m Possible that I'm using it incorrectly ? I didn't think vconvert supported /etc/passwd users, just going from cdb to sql, etc. I'd have to look at the source, though. Bill
Re: [vchkpw] vconvert
Hi, It does support /etc/passwd to cdb, that is for sure. I use it all the time to convert old sendmail installations to qmail. Bit of a drag having to replace the passwd file though, I wish it could read from another file in passwd format. >From reading through the source it appears to use built in functions, limiting you to the real /etc/passwd file. I know this doesn't help with your MySQL import, but it does work passwd -> cdb. Regards, Rick - Original Message - From: "Bill Shupp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 2:45 PM Subject: Re: [vchkpw] vconvert On Monday, November 4, 2002, at 11:38 AM, Stephen Spicer wrote: > > Has anyone had a problem with the vconvert utility. > > When trying to convert entry's from my /etc/passwd file to > a MySql database only two of the entry's get parsed, all other > are ignored. Now errors are reported. > > Their are over 1000 entry's in the passwd file, excluding the system > accounts. > > I am doing a: vconvert -e -m Possible that I'm using it incorrectly ? I didn't think vconvert supported /etc/passwd users, just going from cdb to sql, etc. I'd have to look at the source, though. Bill
RE: [vchkpw] vconvert
Hello, if such a tool does not exist, I would like to code it. Bye, Werner.
Re: [vchkpw] vconvert
Is this it: http://www.enderunix.org/vpwd2sql > Hello, > > if such a tool does not exist, > I would like to code it. > > Bye, > Werner. > > > >
Fw: [vchkpw] vconvert
Thanks for all the reply, I don't think it will be much of a problem importing the accounts into the database and creating the vpopmail accounts but I don't know how to import the encrypted passwords. Guess I could set them and have the owners of the accounts change them. Thanks Again, Stephen D. - Original Message - From: "Bill Shupp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 12:45 PM Subject: Re: [vchkpw] vconvert On Monday, November 4, 2002, at 11:38 AM, Stephen Spicer wrote: > > Has anyone had a problem with the vconvert utility. > > When trying to convert entry's from my /etc/passwd file to > a MySql database only two of the entry's get parsed, all other > are ignored. Now errors are reported. > > Their are over 1000 entry's in the passwd file, excluding the system > accounts. > > I am doing a: vconvert -e -m Possible that I'm using it incorrectly ? I didn't think vconvert supported /etc/passwd users, just going from cdb to sql, etc. I'd have to look at the source, though. Bill
Fw: [vchkpw] vconvert
Looks like it ! Thanks, Stephen D. - Original Message - From: "Jason S" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 3:58 PM Subject: Re: [vchkpw] vconvert > Is this it: > http://www.enderunix.org/vpwd2sql > > > > Hello, > > > > if such a tool does not exist, > > I would like to code it. > > > > Bye, > > Werner. > > > > > > > > > > >
[vchkpw] Problems compiling Vpopmail
I am building this on mandrake 8.1 does anyone have any ideas? -John - rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o cdb/*.o ranlib libvpopmail.a gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vchkpw.c gcc -I. -I/usr/include/mysql -g -O2 -Wall -c hmac_md5.c gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.3.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.3.8' make: *** [all-recursive-am] Error 2 [root@tahoeblue vpopmail-5.3.8]#
[vchkpw] Pop3 problem
I have finished with instalation (following the instruction) i can send email to all virtual account and i see that email in all mailbox. But the problem is, user who has virtual account cannot akses the pop3 (email cannot load, via we or popmail/outlook). I try to test like this : # /var/qmail/bin/qmail-popup xxx /bin/checkpassword pwd +OK <...@xxx> user kambing +OK pass sate -ERR authorization failed password for virtual account at /home/vpopmail/vpasswd. but user who has password at /etc/passwd has no problem, they can access their mailbox. Why? could u solve this problem pls? Thx, Edie - PT QUASAR CIPTA MANDIRI, http://www.quasar.co.id
RE: [vchkpw] Problems compiling Vpopmail
Please search the list archives first. Short answer, install zlib-devel. Regards, Tren -Original Message- From: John Johnson [mailto:john@;cyberbytesbbs.com] Sent: Monday, November 04, 2002 10:29 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Problems compiling Vpopmail I am building this on mandrake 8.1 does anyone have any ideas? -John - rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o cdb/*.o ranlib libvpopmail.a gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vchkpw.c gcc -I. -I/usr/include/mysql -g -O2 -Wall -c hmac_md5.c gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.3.8' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.3.8' make: *** [all-recursive-am] Error 2 [root@tahoeblue vpopmail-5.3.8]#
RE: [vchkpw] Pop3 problem
Read the INSTALL file. Vpopmail doesn't use checkpassword. It uses vchkpw. Examples of how to start it up and such are all in the INSTALL file. Regards, Tren -Original Message- From: [EMAIL PROTECTED] [mailto:edie@;quasar.co.id] Sent: Monday, November 04, 2002 10:41 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Pop3 problem I have finished with instalation (following the instruction) i can send email to all virtual account and i see that email in all mailbox. But the problem is, user who has virtual account cannot akses the pop3 (email cannot load, via we or popmail/outlook). I try to test like this : # /var/qmail/bin/qmail-popup xxx /bin/checkpassword pwd +OK <...@xxx> user kambing +OK pass sate -ERR authorization failed password for virtual account at /home/vpopmail/vpasswd. but user who has password at /etc/passwd has no problem, they can access their mailbox. Why? could u solve this problem pls? Thx, Edie - PT QUASAR CIPTA MANDIRI, http://www.quasar.co.id