Re: sqwebmail stopped working
"Jack Jones" <[email protected]> Thu, 7 Sep 2006 09:28:50 +0100
| Newsgroups | gmane.mail.sqwebmail |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_17912_31660646.1157617730396 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I figured it out. The clock on the nfs server which hosted /usr/local/vpopmail/domains/ was 30 minutes behind the webserver which ran the sqwebmail cgi binary... this resulted in an immediate logout/timeout upon a successful login. Once i synchronized the clocks the error disappeared! That was a tricky one - only took 7 hours for me to figure out what it was!! On 06/09/06, Anup Singh <[email protected]> wrote: > > Hi, > > Not sure if this would work for you. Long back when i used > courier+sqwebmail i landed myself in a situation where it always > resulted in invalid username/password issue all of a sudden. See if it > has anything to do with setuid bit of the sqwebmail binary. I could be > way off target but just sharing my experience. > > Cheers > Anup > > > ----- Original Message ----- > From: "Jack Jones" <[email protected]> > To: [email protected] > Sent: Wed, 6 Sep 2006 16:24:27 +0100 > Subject: [sqwebmail] sqwebmail stopped working > > > Hi, > > > > sqwebmail's been working fine for me for months now. Recently my > > machine > > rebooted and now sqlwebmail's no longer working. > > > > Any successful logins return the following: > > > > Your request cannot be authenticated. Either your session has timed > > out, or > > your IP address has changed. If you are dialing in via a modem, > > this can > > happen if you get disconnected. After reconnecting, you must log in > > again. > > > > > > I have added a test account to try to debug the issue but i am > > completely > > stumped as to where i should look next. I have uninstalled and > > reinstalled > > both sqwebmail and courtier authlib's. Even the authdaemond log > > mentions > > the login was successful: > > > > Sep 6 16:19:50 birch sqwebmaild: LOGIN: ip=[(null)], > > [email protected] > > Sep 6 16:19:50 birch sqwebmaild: LOGIN: ip=[(null)], > > [email protected] > > Sep 6 16:19:50 birch authdaemond: received auth request, > > service=webmail, > > authtype=login > > Sep 6 16:19:50 birch authdaemond: received auth request, > > service=webmail, > > authtype=login > > Sep 6 16:19:50 birch authdaemond: authvchkpw: trying this module > > Sep 6 16:19:50 birch authdaemond: authvchkpw: trying this module > > Sep 6 16:19:50 birch authdaemond: authvchkpw: sysusername=<null>, > > sysuserid=89, sysgroupid=89, > > homedir=/usr/local/vpopmail/domains/mydomain.com/test, > > [email protected], fullname=test, maildir=<null>, > > quota=<null>, > > options=disablewebmail=0,disablepop3=0,disableimap=0 > > Sep 6 16:19:50 birch authdaemond: authvchkpw: sysusername=<null>, > > sysuserid=89, sysgroupid=89, > > homedir=/usr/local/vpopmail/domains/mydomain.com/test, > > [email protected], fullname=test, maildir=<null>, > > quota=<null>, > > options=disablewebmail=0,disablepop3=0,disableimap=0 > > Sep 6 16:19:50 birch authdaemond: password matches successfully > > Sep 6 16:19:50 birch authdaemond: password matches successfully > > > > > > I have no idea what could be wrong! Is there any way to put > > sqwebmail into > > proper debug mode so i can try find out where it's going wrong? > > > > I just don't get it - after authdaemond returns successful > > sqwebmail goes > > and creates all its sqwebmail files and directories in the vpopmail > > users > > Maildir but it just bombs out immediately after that returning the > > error > > message i pasted above. > > > > I have searched everywhere to try diagnose the issue and as of yet > > have > > failed. > > > > The OS is FreeBSD 6.0, vpopmail+mysql+sqwebmail, the > > /usr/local/vpopmail/domains/ directory is nfs mounted if it makes > > any > > difference. > > > > Any help would really be very much appreciated! > > > > THANKS! > > > > Jack. > > > > > _____________________________________________________________________ > > 70% of Web World Is Non Windows For Obvious Reasons. Time To Shift? > Check Link Below: > http://news.netcraft.com/archives/web_server_survey.html > > READ Without Opening Mail Powered By https://scorpioinformatics.com/ > _____________________________________________________________________ > > ------=_Part_17912_31660646.1157617730396 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div>I figured it out.</div> <div> </div> <div>The clock on the nfs server which hosted /usr/local/vpopmail/domains/ was 30 minutes behind the webserver which ran the sqwebmail cgi binary... this resulted in an immediate logout/timeout upon a successful login.</div> <div><br>Once i synchronized the clocks the error disappeared!</div> <div><br>That was a tricky one - only took 7 hours for me to figure out what it was!!<br><br> </div> <div><span class="gmail_quote">On 06/09/06, <b class="gmail_sendername">Anup Singh</b> <<a href="mailto:[email protected]">[email protected]</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Not sure if this would work for you. Long back when i used<br>courier+sqwebmail i landed myself in a situation where it always <br>resulted in invalid username/password issue all of a sudden. See if it<br>has anything to do with setuid bit of the sqwebmail binary. I could be<br>way off target but just sharing my experience.<br><br>Cheers<br>Anup<br> <br><br>----- Original Message -----<br>From: "Jack Jones" <<a href="mailto:[email protected]">[email protected]</a>><br>To: <a href="mailto:[email protected]">[email protected]</a> <br>Sent: Wed, 6 Sep 2006 16:24:27 +0100<br>Subject: [sqwebmail] sqwebmail stopped working<br><br>> Hi,<br>><br>> sqwebmail's been working fine for me for months now. Recently my<br>> machine<br>> rebooted and now sqlwebmail's no longer working. <br>><br>> Any successful logins return the following:<br>><br>> Your request cannot be authenticated. Either your session has timed<br>> out, or<br>> your IP address has changed. If you are dialing in via a modem, <br>> this can<br>> happen if you get disconnected. After reconnecting, you must log in<br>> again.<br>><br>><br>> I have added a test account to try to debug the issue but i am<br>> completely<br>> stumped as to where i should look next. I have uninstalled and <br>> reinstalled<br>> both sqwebmail and courtier authlib's. Even the authdaemond log<br>> mentions<br>> the login was successful:<br>><br>> Sep 6 16:19:50 birch sqwebmaild: LOGIN: ip=[(null)],<br>> username= <a href="mailto:[email protected]">[email protected]</a><br>> Sep 6 16:19:50 birch sqwebmaild: LOGIN: ip=[(null)],<br>> username=<a href="mailto:[email protected]">[email protected]</a><br>> Sep 6 16:19:50 birch authdaemond: received auth request, <br>> service=webmail,<br>> authtype=login<br>> Sep 6 16:19:50 birch authdaemond: received auth request,<br>> service=webmail,<br>> authtype=login<br>> Sep 6 16:19:50 birch authdaemond: authvchkpw: trying this module <br>> Sep 6 16:19:50 birch authdaemond: authvchkpw: trying this module<br>> Sep 6 16:19:50 birch authdaemond: authvchkpw: sysusername=<null>,<br>> sysuserid=89, sysgroupid=89,<br>> homedir=/usr/local/vpopmail/domains/mydomain.com/test, <br>> address=<a href="mailto:[email protected]">[email protected]</a>, fullname=test, maildir=<null>,<br>> quota=<null>,<br>> options=disablewebmail=0,disablepop3=0,disableimap=0<br>> Sep 6 16:19:50 birch authdaemond: authvchkpw: sysusername=<null>, <br>> sysuserid=89, sysgroupid=89,<br>> homedir=/usr/local/vpopmail/domains/mydomain.com/test,<br>> address=<a href="mailto:[email protected]">[email protected]</a>, fullname=test, maildir=<null>,<br>> quota=<null>, <br>> options=disablewebmail=0,disablepop3=0,disableimap=0<br>> Sep 6 16:19:50 birch authdaemond: password matches successfully<br>> Sep 6 16:19:50 birch authdaemond: password matches successfully<br>><br>> <br>> I have no idea what could be wrong! Is there any way to put<br>> sqwebmail into<br>> proper debug mode so i can try find out where it's going wrong?<br>><br>> I just don't get it - after authdaemond returns successful <br>> sqwebmail goes<br>> and creates all its sqwebmail files and directories in the vpopmail<br>> users<br>> Maildir but it just bombs out immediately after that returning the<br>> error<br>> message i pasted above. <br>><br>> I have searched everywhere to try diagnose the issue and as of yet<br>> have<br>> failed.<br>><br>> The OS is FreeBSD 6.0, vpopmail+mysql+sqwebmail, the<br>> /usr/local/vpopmail/domains/ directory is nfs mounted if it makes <br>> any<br>> difference.<br>><br>> Any help would really be very much appreciated!<br>><br>> THANKS!<br>><br>> Jack.<br><br><br><br><br>_____________________________________________________________________ <br><br>70% of Web World Is Non Windows For Obvious Reasons. Time To Shift?<br>Check Link Below:<br><a href="http://news.netcraft.com/archives/web_server_survey.html">http://news.netcraft.com/archives/web_server_survey.html </a><br><br>READ Without Opening Mail Powered By <a href="https://scorpioinformatics.com/">https://scorpioinformatics.com/</a><br>_____________________________________________________________________<br><br></blockquote></div> <br> ------=_Part_17912_31660646.1157617730396--