Re: [vchkpw] vpopmail 5.3.16 to 5.4.7
Tom Collins wrote: On Oct 13, 2004, at 1:31 PM, csere matyas wrote: that vmysql.h you are talking about should be in the source tree of the old vpopmail? (which isnt available btw [[= ) You might be able to strace an old binary (like vuserinfo) to find out what username and password it's using to access the database. or he could just revoke the old access & grant new permissions to the database :) (or test and see if its using mysql root login) regards Kris
Re: [vchkpw] vpopmail 5.3.16 to 5.4.7
On Oct 13, 2004, at 1:31 PM, csere matyas wrote: thanks for the quick reply. i've dug in the mysql db, and found a vpopmail db. (and with strace i see mysql librarys linked to the old binarys). but in the old version there isnt a vpopmail.mysql so thats why i thoght it was cdb. that vmysql.h you are talking about should be in the source tree of the old vpopmail? (which isnt available btw [[= ) Yes, it would be in the old source. Build the new vpopmail with --enable-auth-module=mysql, then edit ~vpopmail/etc/vpopmail.mysql to use the correct username, password and database name. You might be able to strace an old binary (like vuserinfo) to find out what username and password it's using to access the database. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] vpopmail 5.3.16 to 5.4.7
hi thanks for the quick reply. i've dug in the mysql db, and found a vpopmail db. (and with strace i see mysql librarys linked to the old binarys). but in the old version there isnt a vpopmail.mysql so thats why i thoght it was cdb. that vmysql.h you are talking about should be in the source tree of the old vpopmail? (which isnt available btw [[= ) thanks wd - Original Message - From: "Tom Collins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 13, 2004 9:28 PM Subject: Re: [vchkpw] vpopmail 5.3.16 to 5.4.7 > On Oct 13, 2004, at 11:18 AM, csere matyas wrote: > > my problem is: > > for example with the old setup i've made a domain, and added some > > users. > > with the new binarys i can see the domain, but it sais there are 0 > > users in > > it, which is just not true. > > it seems to be searching for the vpasswd files in the domains > > directory, > > which is pretty funny, becouse the older version isnt looking in there. > > Is the older version perhaps using MySQL? > > Do you have a copy of the source for 5.3.16? Can you look at config.h > to determine how it was configured? Also. config.status should have a > line in it (search for "recheck") that lists all configuration options. > > In older versions, vmysql.h contained the login information for MySQL. > That's been moved to ~vpopmail/etc/vpopmail.mysql. Also note that > instead of --enable-mysql, you'd use --enable-auth-module=mysql. > > -- > Tom Collins - [EMAIL PROTECTED] > QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ > Info on the Sniffter hand-held Network Tester: http://sniffter.com/ > >
Re: [vchkpw] vpopmail 5.3.16 to 5.4.7
On Oct 13, 2004, at 11:18 AM, csere matyas wrote: my problem is: for example with the old setup i've made a domain, and added some users. with the new binarys i can see the domain, but it sais there are 0 users in it, which is just not true. it seems to be searching for the vpasswd files in the domains directory, which is pretty funny, becouse the older version isnt looking in there. Is the older version perhaps using MySQL? Do you have a copy of the source for 5.3.16? Can you look at config.h to determine how it was configured? Also. config.status should have a line in it (search for "recheck") that lists all configuration options. In older versions, vmysql.h contained the login information for MySQL. That's been moved to ~vpopmail/etc/vpopmail.mysql. Also note that instead of --enable-mysql, you'd use --enable-auth-module=mysql. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] vpopmail 5.3.16 to 5.4.7
hello everyone! im trying to upgrade our vpopmail to the newest version. ive read the upgrading file in the source tree, it doesnt say anything i need to be worried about. but its not working =P my problem is: for example with the old setup i've made a domain, and added some users. with the new binarys i can see the domain, but it sais there are 0 users in it, which is just not true. it seems to be searching for the vpasswd files in the domains directory, which is pretty funny, becouse the older version isnt looking in there. i'm pretty sure we use the cdb in the old version (i've didnt install it, and its poorly documented too. how could i tell for sure?) anyone could help me with this? thanks in advance wd