Bluehost.com Web Hosting $6.95

Re: [courier-users] Re: vpopmail+courier+mysql (problem with authdaemond: mysqlserver has gone away)

This is a discussion on Re: [courier-users] Re: vpopmail+courier+mysql (problem with authdaemond: mysqlserver has gone away) within the Courier-Imap forums, part of the Mail Servers and Related category; list wrote: > More Information on this, I turned on authlib's debug output...and I > get these lines ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2005
Tim Hunter
 
Posts: n/a
Default Re: [courier-users] Re: vpopmail+courier+mysql (problem with authdaemond: mysqlserver has gone away)

list wrote:
> More Information on this, I turned on authlib's debug output...and I
> get these lines in my maillog now. Does this help anyone?


sure find out why your vpopmail responds with "vmysql: sql error[3]: MySQL
server has gone away"

>
> mail1 authdaemond: received auth request, service=imap, authtype=login
> mail1 authdaemond: authvchkpw: trying this module
> mail1 authdaemond: vmysql: sql error[3]: MySQL server has gone away
> mail1 authdaemond: vchkpw: user does not exist
> mail1 authdaemond: authvchkpw: REJECT - try next module
> mail1 authdaemond: FAIL, all modules rejected
>
> I can assure you that the user DOES exist, and so does the
> domain...because I can login via a pop3 client, just not using
> webmail.
>
>
>> My setup:
>>
>> Courier-imap 4.0.2
>> Courier-authlib 0.55
>> PHP 5.0.4
>> Apache 1.3.33
>> Squirrelmail 1.4.4 and I tried 1.5.0
>> Compatibility plugin
>> secure_login plugin
>> Vpopmail 5.4.10
>> MySQL 4.1.12
>> Slackware Linux 10.1
>> All software was installed from source.
>>
>> The problem, which I have not seen anyone else state EXACTLY, is that
>> squirrelmail refuses to authenticate. Pop3 and smtp both work
>> perfectly fine via a pop3 email client, vpopmail is interfacing with
>> mysql just fine and I can check my mail using an email client. But,
>> as soon as I try to login with squirrelmail (and I even tried using
>> sqwebmail) authentication fails.
>>
>> I always get the same errors in my maillog:
>>
>> mail1 imapd: Connection, ip=[::ffff:127.0.0.1]
>> mail1 imapd: LOGIN FAILED, user=****, ip=[::ffff:127.0.0.1]
>> mail1 httpd: Squirrelmail login failed for Username : ****, Password
>> : $$$$
>> mail1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=5
>>
>> (username and password were replaced by me, they were correct)
>>
>> However, sometimes along with that I get this very familiar error:
>>
>> mail1 authdaemond: vmysql: sql error[3]: MySQL server has gone away
>>
>> Which I'm sure most of you have seen before in a few circumstances.
>> As I stated before, vpopmail works with mysql just fine, and I'm
>> triple and quadruple checked my squirrelmail username and password
>> that is being used to access the mysql database. I can't find any
>> information that helps me with this, I've searched and
>> searched...please give me an easy answer.
>>
>> If you need more info, or anything clarified, please let me
>> know...this is driving me crazy! ;)
>>




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0