Re: [vchkpw] vconvert deletes qmailadmin-limits?

2004-02-18 Thread Brian
Fwiw..

I did the reverse dumped my mysql stuff to cdb before the upgrade just
in case.. and it did the same thing too after the upgrade..
removed all the .qmailadmin-limits.. I assumed it was somethng that I
must have not read in the docs and didn't submit a bug report.
- Brian

Jeff Koch wrote:

Hi:

We transferred 600 domains and about 5000 mail accounts from a server 
using vpopmail with cdb to a new server using the latest 5.4.0 built 
with mysql for auth but no mysql aliases or limits.

After untarring the domains.tgz file and copying over the /qmail/control 
and /qmail/assign files we ran 'vconvert -c -m' and after the conversion 
we found vconvert had deleted all of the '.qmailadmin-limits' files. Is 
this a known bug or did we do something stupid?

Our configure directives were:

./configure --enable-logging=v --enable-clear-passwd 
--enable-auth-module=mysql --disable-mysql-limits --enable-mysql-logging

Best Regards,

Jeff Koch



Re: [vchkpw] vconvert deletes qmailadmin-limits?

2004-02-17 Thread Tom Collins
On Feb 17, 2004, at 11:18 AM, Jeff Koch wrote:
After untarring the domains.tgz file and copying over the 
/qmail/control and /qmail/assign files we ran 'vconvert -c -m' and 
after the conversion we found vconvert had deleted all of the 
'.qmailadmin-limits' files. Is this a known bug or did we do something 
stupid?
Did it move the limits into MySQL?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


Re: [vchkpw] vconvert deletes qmailadmin-limits?

2004-02-17 Thread Jeff Koch
Hi Tom:

The only tables we see are:

mysql show tables;
++
| Tables_in_vpopmail |
++
| dir_control|
| lastauth   |
| vlog   |
| vpopmail   |
++
4 rows in set (0.00 sec)
Any ideas?



At 03:00 PM 2/17/2004, you wrote:
On Feb 17, 2004, at 11:18 AM, Jeff Koch wrote:
After untarring the domains.tgz file and copying over the /qmail/control 
and /qmail/assign files we ran 'vconvert -c -m' and after the conversion 
we found vconvert had deleted all of the '.qmailadmin-limits' files. Is 
this a known bug or did we do something stupid?
Did it move the limits into MySQL?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/
Best Regards,

Jeff Koch, Intersessions 




Re: [vchkpw] vconvert deletes qmailadmin-limits?

2004-02-17 Thread Tom Collins
On Feb 17, 2004, at 11:18 AM, Jeff Koch wrote:
After untarring the domains.tgz file and copying over the 
/qmail/control and /qmail/assign files we ran 'vconvert -c -m' and 
after the conversion we found vconvert had deleted all of the 
'.qmailadmin-limits' files. Is this a known bug or did we do something 
stupid?
It's a known bug now.  I just added it to SourceForge.  When converting 
to MySQL, vconvert will delete the .qmailadmin-limits file.

I'll try to get a fix in soon.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


Re: [vchkpw] vconvert

2003-11-04 Thread Cristiano Deana
Il giorno Saturday 01 November 2003 06:34, Duane Stark mi scriveva:

 It's almost like vconvert cant get access to the mysql database.  What
 connection info is it using?  

Did you properly set your mysql user/permission in according with
# cat ~vpopmail/etc/vpopmail.mysql
localhost|0|vpopmail|mysecurepasswd|vpopmail
localhost|0|vpopmail|mysecurepasswd|vpopmail

P.S.
# pkg_info | grep vpopmail
vpopmail-5.3.28 Easy virtual domain and authentication package for use 
with

vconvert ok here.




Re: [vchkpw] vconvert

2003-11-04 Thread Duane Stark
All set properly.. Still conversion failed.. :(

 Original Message
 From: Cristiano Deana [EMAIL PROTECTED]
 To: Duane Stark [EMAIL PROTECTED], [EMAIL PROTECTED]
 Date: Tue, Nov-4-2003 7:24 AM
 Subject: Re: [vchkpw] vconvert
 
 Il giorno Saturday 01 November 2003 06:34, Duane Stark mi scriveva:
 
  It's almost like vconvert cant get access to the mysql database.  What
  connection info is it using?  
 
 Did you properly set your mysql user/permission in according with
 # cat ~vpopmail/etc/vpopmail.mysql
 localhost|0|vpopmail|mysecurepasswd|vpopmail
 localhost|0|vpopmail|mysecurepasswd|vpopmail
 
 P.S.
 # pkg_info | grep vpopmail
 vpopmail-5.3.28 Easy virtual domain and authentication package for use 
 with
 
 vconvert ok here.
 
 
 
 
 




Fw: Re: [vchkpw] vconvert

2003-11-03 Thread Duane Stark
Any ideas re: this problem?  I'm in bad need of some help!!

Thanks,
Duane


 Original Message
 From: Duane Stark [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Fri, Oct-31-2003 11:34 PM
 Subject: Re: [vchkpw] vconvert
 
 According to pkg_info, vpopmail-5.3.28.
 
 It's almost like vconvert cant get access to the mysql database.  What connection 
 info is it using?  Since the documentation on vconvert appears to be scarce, I can't 
 confirm that it's not a breakage in the vconver  mysql link.
 
 Thanks,
 Duane
 
  Original Message
  From: Michael Bowe [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Date: Fri, Oct-31-2003 10:43 PM
  Subject: Re: [vchkpw] vconvert
  
  
   After that, I ran vconvert -c -m and recieved the following error:
  
   converting demodomain.com ...domain conversion failed
  
   Any ideas?
  
  
  What version of vpopmail do you have?
  
  I saw you posted previously that you had the latest, but can you quote the
  actual version number please because it is common enough for people to think
  they have the very latest when they actually havent :-)
  
  Michael.
  
  
  
  
 




Re: [vchkpw] vconvert

2003-10-31 Thread Michael Bowe

 After that, I ran vconvert -c -m and recieved the following error:

 converting demodomain.com ...domain conversion failed

 Any ideas?


What version of vpopmail do you have?

I saw you posted previously that you had the latest, but can you quote the
actual version number please because it is common enough for people to think
they have the very latest when they actually havent :-)

Michael.




Re: [vchkpw] vconvert

2003-10-31 Thread Duane Stark
According to pkg_info, vpopmail-5.3.28.

It's almost like vconvert cant get access to the mysql database.  What connection info 
is it using?  Since the documentation on vconvert appears to be scarce, I can't 
confirm that it's not a breakage in the vconver  mysql link.

Thanks,
Duane

 Original Message
 From: Michael Bowe [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Fri, Oct-31-2003 10:43 PM
 Subject: Re: [vchkpw] vconvert
 
 
  After that, I ran vconvert -c -m and recieved the following error:
 
  converting demodomain.com ...domain conversion failed
 
  Any ideas?
 
 
 What version of vpopmail do you have?
 
 I saw you posted previously that you had the latest, but can you quote the
 actual version number please because it is common enough for people to think
 they have the very latest when they actually havent :-)
 
 Michael.
 
 
 
 




Re: [vchkpw] Vconvert failure

2003-10-29 Thread Paolo Losi
Thanks Michael and X-istence,
I thought that the lastest was 5.2.1 since this was the lastest
reported on inter7.com website.
I've tried 5.2.2 and vconvert works like a charm...
Thanks!
Paolo
Michael Bowe wrote:
Hi all,
I'm trying to convert a 5.2 cdb installation to a 5.2.1 mysql
installation.

I've tried to use vconvert tools but it fails.


I think that vconvert is badly out of date.
Do you have any suggestions (over fixing the code :-) )?


vpopmail-5.2.2 contains a much newer version of the vconvert utility.

vpopmail-5.2.2 is now the recommended stable version to be using (not
vpopmail-5.2.1). The 5.2.2 build includes a number of important bug fixes.
You can get vpopmail-5.2.2 from http://sourceforge.net/projects/vpopmail

Michael.





Re: [vchkpw] Vconvert failure

2003-10-28 Thread Michael Bowe

 Hi all,
 I'm trying to convert a 5.2 cdb installation to a 5.2.1 mysql
installation.
 I've tried to use vconvert tools but it fails.

 I think that vconvert is badly out of date.
 Do you have any suggestions (over fixing the code :-) )?

vpopmail-5.2.2 contains a much newer version of the vconvert utility.

vpopmail-5.2.2 is now the recommended stable version to be using (not
vpopmail-5.2.1). The 5.2.2 build includes a number of important bug fixes.

You can get vpopmail-5.2.2 from http://sourceforge.net/projects/vpopmail

Michael.




Re: [vchkpw] Vconvert / converting / migrating woes....

2003-07-30 Thread Rick Macdougall
Hi,

Harry Zink wrote:

Alright, thanks for the tips on vconvert - I have, in the meantime, found
out that it is one of the worst documented utilities. Heck, not even inter7
has a decent man page for it. I think that vconvert -c -m domain.name will
do the trick, though (or just vconvert -c -m for all domains).
That's where the present 'rub' is, though.

The scenario:

- I have the new server, set up with qmail-toaster, and vpopmail 5.38,
qmailadmin 1.06. All configured for mysql.
- I have data from the legacy server, with standard cdb files in the
vpopmail configuration without mysql.
So, while obviously I can just drop over the content of
/home/vpopmail/domains into the new location, that doesn't really convince
qmail to see any of those domains, and consequently vconvert doesn't see
them either.
So:

- what else, besides dropping the content of /domains/ in place, do I need
to do / copy over from the prior installation in order for the domains to be
recognized by qmail, qmailadmin, and hence vconvert?
You also need /var/qmail/control/* and /var/qmail/users/*

And make sure the uid and gid in the /var/qmail/users/assign file 
matches the uid and gid for vpopmail and vchkpw on the new server.

Regards,

Rick





Re: [vchkpw] vconvert

2002-11-04 Thread Bill Shupp
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

2002-11-04 Thread Rick Macdougall
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

2002-11-04 Thread Werner Schalk
Hello,

if such a tool does not exist,
I would like to code it.

Bye,
Werner.





Re: [vchkpw] vconvert

2002-11-04 Thread Jason S
Is this it:
http://www.enderunix.org/vpwd2sql


 Hello,
 
 if such a tool does not exist,
 I would like to code it.
 
 Bye,
 Werner.
 
 
 
 




Re: [vchkpw] vconvert problem - ignoring one user

2002-10-14 Thread Ken Jones

The - in the domain name should not matter. 
I would suggest running vconvert in gdb and walk through the
how it processes that one domain. Then you can see what is
going on. 

Hope that helps
Ken Jones

On Sunday 13 October 2002 10:42 pm, Jesse Reynolds wrote:
 Hi

 I'm having a problem running vconvert -c -m to convert our
 installation from CDB files to MySQL. Out of 243 users accross 61
 domain names only one user is not imported. The domain name has a
 hyphin in it (-) - would this cause the problem perhaps? There is
 only one user in this domain. The domain got imported, just not the
 user.

 We are running on the new server (MySQL):

 vpopmail 5.3.8
 mysql 3.23.49
 freebsd 4.6.2

 On the old server (CDB):

 vpopmail 5.2.1
 freebsd 4.2

 Thankyou

 Jesse