Re: [vchkpw] Vpopmail w/ MySQL still checking vpasswd.cdb w/ qmail-smtpd
On Oct 28, 2004, at 10:43 PM, Chris Marks wrote: We've migrated to a MySQL backend which works great for pop and IMAP, but incoming mail to the qmail-smtpd stills has to check the vpasswd.cdb if there is no .qmail-user file. We compiled and installed vpopmail, then qmail ( with ./config-fast etc) I assumed the vpopmail libs would get picked up and reflect the authmysql usage. Am I missing something obvious here? Feel free to drop a boot to my melon if so. We've had to use old vmkpasswd's and mod the vpasswd for virtual domains then mkpasswd with the old binary to get it to work. Vpopmail-5.4.7, qmail-1.03 TIA Your qmail-smtpd isn't getting rebuilt properly. After installing the new vpopmail, go into your qmail source directory and try deleting the previous qmail-smtpd and qmail-smtpd.o before rebuilding. You may also want to review the installation instructions for the chkusr patch -- I think you have to modify the Makefile if you're using 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 w/ MySQL still checking vpasswd.cdb w/ qmail-smtpd
On Fri, 29 Oct 2004, Tom Collins wrote: You may also want to review the installation instructions for the chkusr patch -- I think you have to modify the Makefile if you're using MySQL. Also check all the conf-* files in there, I seem to recall needing to edit a few of those. Charles -- 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] vpopmaild status
Hi, So I've finally updated to 5.4.7, so I'm ready to start playing with vpopmaild and the php classes that someone posted here many months ago. First of all, I wanted to verify that vpopmaild should work with the stable version of vpopmail, can anyone confirm? Next, where do I find it? I remember Rick was hosting part of a project at http://kimberly.developersdesk.com/, but that seems to be gone now. Where is vpopmaild proper? Is this a cvs-only thing? Any other projects involving vpopmaild that I should be aware of? Thanks, Charles
Re: [vchkpw] vpopmaild status
On Friday 29 October 2004 02:45 pm, Charles Sprickman wrote: Hi, So I've finally updated to 5.4.7, so I'm ready to start playing with vpopmaild and the php classes that someone posted here many months ago. First of all, I wanted to verify that vpopmaild should work with the stable version of vpopmail, can anyone confirm? Next, where do I find it? I remember Rick was hosting part of a project at http://kimberly.developersdesk.com/, but that seems to be gone now. Where is vpopmaild proper? Is this a cvs-only thing? Any other projects involving vpopmaild that I should be aware of? Yep. I've been talking with Bill Shupp about building a new php interface using vpopmaild. Hopefully he will be sending me some templates soon. If not, I will start next week. We were planing on using smarty templates, a plugin system similar to squirrelmail and squirrelmail style multi-language method. -- Ken Jones
Re: [vchkpw] vpopmaild status
On Fri, 29 Oct 2004, Ken Jones wrote: Yep. I've been talking with Bill Shupp about building a new php interface using vpopmaild. Hopefully he will be sending me some templates soon. If not, I will start next week. We were planing on using smarty templates, a plugin system similar to squirrelmail and squirrelmail style multi-language method. I did find this: http://pmailadmin.sf.net/ I grabbed the latest CVS, but it bombs while trying to compile vpopmaild: gcc -I. -I/usr/local/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmaild.c' || echo './'`vpopmaild.c gcc -g -O2 -Wall -o vpopmaild vpopmaild.o libvpopmail.a -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt vpopmaild.o: In function `get_lastauth': /usr/local/src/toaster/vpopmail/cvs/vpopmail/vpopmaild.c(.text+0x3d00): undefined reference to `vget_lastauth' /usr/local/src/toaster/vpopmail/cvs/vpopmail/vpopmaild.c(.text+0x3d15): undefined reference to `vget_lastauthip' gmake[2]: *** [vpopmaild] Error 1 gmake[2]: Leaving directory `/usr/local/src/toaster/vpopmail/cvs/vpopmail' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/toaster/vpopmail/cvs/vpopmail' gmake: *** [all] Error 2 Should I back off to an earlier version? Is there any chance this will work against 5.4.7 (perhaps if vpopmaild were static)? Charles -- Ken Jones
Re: [vchkpw] vpopmaild status
On Fri, 29 Oct 2004, Charles Sprickman wrote: I grabbed the latest CVS, but it bombs while trying to compile vpopmaild: gcc -I. -I/usr/local/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmaild.c' || echo './'`vpopmaild.c gcc -g -O2 -Wall -o vpopmaild vpopmaild.o libvpopmail.a -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt vpopmaild.o: In function `get_lastauth': /usr/local/src/toaster/vpopmail/cvs/vpopmail/vpopmaild.c(.text+0x3d00): undefined reference to `vget_lastauth' /usr/local/src/toaster/vpopmail/cvs/vpopmail/vpopmaild.c(.text+0x3d15): undefined reference to `vget_lastauthip' gmake[2]: *** [vpopmaild] Error 1 gmake[2]: Leaving directory `/usr/local/src/toaster/vpopmail/cvs/vpopmail' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/toaster/vpopmail/cvs/vpopmail' gmake: *** [all] Error 2 I think I fixed it, but I'm not much of a C person. I just kind of cut and pasted some ifdefs from vpopmail.c that seem to check whether this was configured with lastauth or not: [EMAIL PROTECTED]/usr/local/src/toaster/vpopmail/cvs/vpopmail]# diff vpopmaild.c.dist vpopmaild.c.fix 97a98 #ifdef ENABLE_AUTH_LOGGING 98a100 #endif 154a157 #ifdef ENABLE_AUTH_LOGGING 155a159 #endif 2163a2168 #ifdef ENABLE_AUTH_LOGGING 2211a2217 #endif It builds... :) Charles Should I back off to an earlier version? Is there any chance this will work against 5.4.7 (perhaps if vpopmaild were static)? Charles -- Ken Jones