Charles J. Boening wrote:
I believe I did, but I will try it again, just to make sure.Did you try using the postgres user for the database instead of the one you made? I may take you up on that offer if I can't figure this out.One of the things that happens on login that wouldn't with vuserinfo would be an insertion or update to the vlog table or lastauth table.If you want, contact me off list and we can discuss the possibility of me logging in to your system and checking things out. Joshua Coucke Charlie-----Original Message----- From: Joshua Coucke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 31, 2005 1:26 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] Switching from Mysql to Postgresql Charles J. Boening wrote:Is there anything in the log files? /var/log/mail/info or /var/log/mail/errors ... how about in /var/log/qmail/pop3d/current?Nothing in the logs that I could see.If vuserinfo is working, then your database hooks invpopmail are allok. How about doing a make clean and make and make install again? Then restart qmail.I have been doing make clean every time I recompile.How about if you telnet to the server on port 110 and try to auth by hand? You sure it's not a Thunderbird issue?Tried it and it failed just after I entered the password for the account.I had some issues at one point and I ended up deleting everything in ~vpopmail/etc ~vpopmail/include ~vpopmail/bin and ~vpopmail/lib then rebuilt vpopmail and rebuilt authdaemon. Then it all worked.I tried deleting everything out of those directories and then rebuilding vpopmail and it still failed.... Joshua________________________________ From: Joshua Coucke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 31, 2005 11:53 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] Switching from Mysql to Postgresql Charles J. Boening wrote: I'm using vpopmail 5.4.10 successfully with PostgreSQL. How about permissions for your vpopmail sqluser? Did you GRANT thatuser permissions to the database? Yes, the user does have permissions. How about running the commandline utilities? /home/vpopmail/bin/vuserinfo <email addy> I was able to get userinfo on an email address. And Iwas able toverify that the info was coming from the postgres db. (Ichanged someinfo in the db and ran the command again, the output was updated.) name: jdcoucke passwd: $1$39sHL0$r3PDZJzvwbTAKOxJD4HHq. clear passwd: ****** comment/gecos: Joshua Coucke uid: 0 gid: 4096 flags: 4096 gecos: Joshua Coucke limits: has qmailadmin administrator access dir: /home/vpopmail/domains/lebanon-tn.com/jdcoucke quota: 4194304S usage: 0% NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "lastauth_pkey" for table "lastauth" last auth: Never logged in Thunderbird still returns an auth error. All of user info was imported from a mysql db usingphpmyadmin andimported using phppgadmin. Would it make a difference if I used vconvert instead? Joshua. -----Original Message----- From: Joshua Coucke [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 31, 2005 7:08 AM To: vchkpw@inter7.com Subject: [vchkpw] Switching from Mysqlto PostgresqlHey, I used the QMR install with the MySQLoption to installvpopmail. Now, however, I need toswitch from MySQL toPostgreSQL as the backend for the whole thing. The problem I am having is that when I recompilevpopmail to use PostgreSQLand then procede to check my email Iget an error telling methat authorazation failed. As far as I can tell I have providedthe correct username anddatabase for vpopmail in the vpgsql.hfile. And I haveimported into postgres the database from mysql. The other odd thing is that vqadmin andqmailadmin still seemto be using the mysql database afterrecompiling vpopmail foruse with postgres. I am using vpopmail v5.4.10, postgresv8.0.1, and Fedora Core 3.Any ideas on the subject would be helpful. I tried to google for this but nothing came up. Joshua Coucke |
- Re: [vchkpw] Switching from Mysql to Postgresql Joshua Coucke
- RE: [vchkpw] Switching from Mysql to Postgresql Charles J. Boening
- Re: [vchkpw] Switching from Mysql to Postgresq... Joshua Coucke
- [vchkpw] Switching from Mysql to Postgresql Joshua Coucke
- Re: [vchkpw] Switching from Mysql to Postgresq... Joshua Coucke
- RE: [vchkpw] Switching from Mysql to Postgresql Charles J. Boening
- Re: [vchkpw] Switching from Mysql to Postgresq... Joshua Coucke
- Re: [vchkpw] Switching from Mysql to Postgresq... Joshua Coucke
- Re: [vchkpw] Switching from Mysql to Postg... Joshua Coucke
- RE: [vchkpw] Switching from Mysql to Postgresql Charles J. Boening
- Re: [vchkpw] Switching from Mysql to Postgresq... Joshua Coucke