Re: [vchkpw] Problems with vpopmail+qmail
Thanks so much that has resolved it. What was the cause? Perhaps what happened was that during testing the last 'make' was from a mis-configured ./configure. Either that or it needed the MySQL paths explicitly specified. Glad to know it is working now though. Goodluck! Sincerely, - Wouter van der Schagt !DSPAM:4a83c31532715197710555!
Re: [vchkpw] Problems with vpopmail+qmail
vpopmail 5.4.28 Current settings --- vpopmail directory = /etc/vpopmail domains directory = /etc/vpopmail/domains uid = 89 gid = 89 roaming users = OFF --disable-roaming-users (default) password learning = OFF --disable-learn-passwords (default) md5 passwords = ON --enable-md5-passwords (default) file locking = ON --enable-file-locking (default) vdelivermail fsync = OFF --disable-file-sync (default) make seekable = ON --enable-make-seekable (default) clear passwd = ON --enable-clear-passwd (default) user dir hashing = ON --enable-users-big-dir (default) address extensions = OFF --disable-qmail-ext (default) ip alias = OFF --disable-ip-alias-domains (default) onchange script = OFF --disable-onchange-script (default) domain quotas = OFF --disable-domainquotas (default) auth module = mysql --enable-auth-module=mysql mysql replication = OFF --disable-mysql-replication (default) sql logging = ON --enable-sql-logging mysql limits = OFF --disable-mysql-limits (default) SQL valias table = ON --enable-valias auth inc = -I/usr/include/mysql/ auth lib = -Xlinker -R -Xlinker usr/lib/ -L/usr/lib/ -lmysqlclient -lz -lm system passwords = OFF --disable-passwd (default) pop syslog = show failed attempts with clear text password --enable-logging=p auth logging = ON --enable-auth-logging (default) all domains in one SQL table = --enable-many-domains (default) spamassassin = OFF --disable-spamassassin (default) maildrop = OFF --disable-maildrop (default) Thanks so much that has resolved it. What was the cause? - Original Message - From: "Wouter van der Schagt" To: Sent: Thursday, August 13, 2009 4:23 PM Subject: Re: [vchkpw] Problems with vpopmail+qmail Thanks for the reply. I have installed with make && make install-strip I can confirm the permissions on vchkpw The results of the strace appear to be adding to cdb database I dont have any errors in the logs, although logging was enabled at compile time. Try: ./configure \ --disable-roaming-users \ --enable-logging=p \ --disable-passwd \ --enable-clear-passwd \ --disable-domain-quotas \ --enable-auth-module=mysql \ --enable-incdir=/usr/include/mysql/ \ --enable-libdir=/usr/lib/ \ --enable-auth-logging \ --enable-sql-logging \ --enable-valias \ --disable-mysql-limits \ make make install-strip Can you copy and paste the result of that configuration? The last summary lines? Sincerely, - Wouter van der Schagt !DSPAM:4a83c15d32711629510977!
Re: [vchkpw] Problems with vpopmail+qmail
Thanks for the reply. I have installed with make && make install-strip I can confirm the permissions on vchkpw The results of the strace appear to be adding to cdb database I dont have any errors in the logs, although logging was enabled at compile time. Try: ./configure \ --disable-roaming-users \ --enable-logging=p \ --disable-passwd \ --enable-clear-passwd \ --disable-domain-quotas \ --enable-auth-module=mysql \ --enable-incdir=/usr/include/mysql/ \ --enable-libdir=/usr/lib/ \ --enable-auth-logging \ --enable-sql-logging \ --enable-valias \ --disable-mysql-limits \ make make install-strip Can you copy and paste the result of that configuration? The last summary lines? Sincerely, - Wouter van der Schagt !DSPAM:4a83b88732714046329834!
Re: [vchkpw] Problems with vpopmail+qmail
Hi, Thanks for the reply. I have installed with make && make install-strip I can confirm the permissions on vchkpw The results of the strace appear to be adding to cdb database I dont have any errors in the logs, although logging was enabled at compile time. - Original Message - From: "Wouter van der Schagt" To: Sent: Thursday, August 13, 2009 3:45 PM Subject: Re: [vchkpw] Problems with vpopmail+qmail Hi, After the configure, did you make && make install-strip? also make sure to set the sticky bit with chmod 6711 /home/vpopmail/bin/vchkpw What do you get when you do: /home/vpopmail/bin/vadddomain domain.com test Any error messages? If so, what is the result of (if you have strace installed) strace -f /home/vpopmail/bin/vadddomain domain.com test Do you have any error messages in the logfiles? Sincerely, - Wouter van der Schagt !DSPAM:4a83b44a32711202230046!
Re: [vchkpw] Problems with vpopmail+qmail
Hi, After the configure, did you make && make install-strip? also make sure to set the sticky bit with chmod 6711 /home/vpopmail/bin/vchkpw What do you get when you do: /home/vpopmail/bin/vadddomain domain.com test Any error messages? If so, what is the result of (if you have strace installed) strace -f /home/vpopmail/bin/vadddomain domain.com test Do you have any error messages in the logfiles? Sincerely, - Wouter van der Schagt !DSPAM:4a83af8832711497264763!
[vchkpw] Problems with vpopmail+qmail
Hi, Theres a strange problem going on with vpopmail, I have set it up to compile from source (see below) and I can verify it has mysql support enabled, the libs exist but when you add domain or user the SQL database is not updated (there are no table structures) even when adding the table structures in manually it is not updating the SQL database I have attached the configuration below: vpopmail-5.4.28 ./configure --disable-roaming-users --enable-logging=p --disable-passwd --enable-clear-passwd --disable-domain-quotas --enable-auth-module=mysql --enable-auth-logging --enable-sql-logging --enable-valias --disable-mysql-limits shared:/etc/vpopmail/etc# ls -l total 7 -rw-r--r-- 1 vpopmail vchkpw 12 2009-08-12 08:07 defaultdomain -rw-r--r-- 1 vpopmail vchkpw 24 2009-08-13 10:26 inc_deps -rw-r--r-- 1 vpopmail vchkpw 116 2009-08-13 10:26 lib_deps -rw-r--r-- 1 vpopmail vchkpw 1161 2009-08-12 05:31 vlimits.default -rw-r--r-- 1 vpopmail vchkpw 98 2009-08-13 10:47 vpopmail.conf -rw-r- 1 vpopmail vchkpw 39 2009-08-13 10:23 vpopmail.mysql shared:/etc/vpopmail/etc# cat vpopmail.conf ; cat vpopmail.mysql backend mysql quota 50M admin_email r...@mydomain.com relay_clear 180 default_domain mydomain.com localhost|0|vpopmail|mypass|vpopmail shared:/etc/vpopmail/etc# I have spent hours trying to figure out why its not sending information the SQL database, I have added the accounts as per the doc and created the database. Please help me. Jack !DSPAM:4a83abfe32712377610763!