Tristan | 15 Feb 2005 18:09
Picon
Favicon

Firefox related problem

L.S.

I have a problem with the combination Squirrelmail 1.4.4 and Firefox 1.0, with all other browsers
(including Mozilla) my Squirrelmail setup works fine except when I login with Firefox it gives me
the classic: Error You must be logged in to access this page. After I try to do anything within
Squirrelmail, I don't get this error right away but only after an amount of time (a couple of
seconds), sometimes I manage to open 1 email or open a folder but nothing more.

I already did some testing, disabled all the plugins, worked with a vanilla Squirrelmail 1.4.4
downloaded a 1.5 CVS, removed all my virtual hosts except webmail.host.tld but no luck there. I
did discover however that my Squirrelmail works fine on host.tld/webmail it only has this problem
when accessed through webmail.host.tld.

There are some people at:
http://www.squirrelmail.org/wiki/en_US/CookieRequirement
Who seem to have the same problem and even coded workarounds to forward Firefox users to a
host.tld/webmail site in stead of the webmail.host.tld. This all seems to be a bit dirty to me,
there must be a better solution.

I'm very eager to solve this problem and do some testing logging etc, but right now I don't have
any idea where to look for clues (there are no strange errors in my Apache or UW Imap logs).

My setup consists of apache 1.3.27 with mod_php 4.3.1 on SuSE 8.2.

Regards,

Tristan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
(Continue reading)

Jonathan Angliss | 15 Feb 2005 18:21
Favicon

Re: Firefox related problem


> L.S.
>
> I have a problem with the combination Squirrelmail 1.4.4 and Firefox 1.0,
> with all other browsers (including Mozilla) my Squirrelmail setup works
> fine except when I login with Firefox it gives me the classic: Error You
> must be logged in to access this page. After I try to do anything within
> Squirrelmail, I don't get this error right away but only after an amount
> of time (a couple of seconds), sometimes I manage to open 1 email or open
> a folder but nothing more.
>
> I already did some testing, disabled all the plugins, worked with a
> vanilla Squirrelmail 1.4.4 downloaded a 1.5 CVS, removed all my virtual
> hosts except webmail.host.tld but no luck there. I did discover however
> that my Squirrelmail works fine on host.tld/webmail it only has this
> problem when accessed through webmail.host.tld.

Are you restricting what domains can send you cookies?  Maybe you didn't
add webmail.host.tld to the exceptions?  In Firefox, go to Tools, Options,
Privacy, and expand the cookies section.  Click on the "Exceptions"
button, and add the webmail.host.tld to the "Allow" option.

--

-- 
Jonathan Angliss
<jon <at> squirrelmail.org>

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
(Continue reading)

Tristan | 15 Feb 2005 18:59
Picon
Favicon

Re: Firefox related problem

>> I have a problem with the combination Squirrelmail 1.4.4 and Firefox 1.0,
>> with all other browsers (including Mozilla) my Squirrelmail setup works
>> fine except when I login with Firefox it gives me the classic: Error You
>> must be logged in to access this page. After I try to do anything within
>> Squirrelmail, I don't get this error right away but only after an amount
>> of time (a couple of seconds), sometimes I manage to open 1 email or open
>> a folder but nothing more.
>>
>> I already did some testing, disabled all the plugins, worked with a
>> vanilla Squirrelmail 1.4.4 downloaded a 1.5 CVS, removed all my virtual
>> hosts except webmail.host.tld but no luck there. I did discover however
>> that my Squirrelmail works fine on host.tld/webmail it only has this
>> problem when accessed through webmail.host.tld.
>
> Are you restricting what domains can send you cookies?  Maybe you didn't
> add webmail.host.tld to the exceptions?  In Firefox, go to Tools, Options,
> Privacy, and expand the cookies section.  Click on the "Exceptions"
> button, and add the webmail.host.tld to the "Allow" option.

Thanks for your fast reply but nope, I'm not restricting anything, these are out of the box
Firefoxes without any extensions or settings altered whatsoever.

Tristan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
(Continue reading)

Chris Hilts | 15 Feb 2005 19:03
Favicon

Re: Firefox related problem

> Thanks for your fast reply but nope, I'm not restricting anything, these
> are out of the box Firefoxes without any extensions or settings altered
> whatsoever.

In that case, I'm unable to duplicate your trouble.  I've been using
SquirrelMail with Firefox for ages without any special hacks required.
(Stable AND dev cvs)

Are you using some sort of cookie-crunching proxy, perhaps?

--

-- 
Chris Hilts
tassium <at> squirrelmail.org

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Franki | 15 Feb 2005 19:20
Favicon

Re: Firefox related problem

Chris Hilts wrote:
>>Thanks for your fast reply but nope, I'm not restricting anything, these
>>are out of the box Firefoxes without any extensions or settings altered
>>whatsoever.
> 
> 
> In that case, I'm unable to duplicate your trouble.  I've been using
> SquirrelMail with Firefox for ages without any special hacks required.
> (Stable AND dev cvs)
> 
> Are you using some sort of cookie-crunching proxy, perhaps?
> 
 >
I can concur, I've been using firefox with sm for well over a year now.. 
never been a problem.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

(Continue reading)

Barry Wong | 16 Feb 2005 02:24
Picon

Re: Firefox related problem

Franki wrote:

> Chris Hilts wrote:
>
>>> Thanks for your fast reply but nope, I'm not restricting anything, 
>>> these
>>> are out of the box Firefoxes without any extensions or settings altered
>>> whatsoever.
>>
>>
>>
>> In that case, I'm unable to duplicate your trouble.  I've been using
>> SquirrelMail with Firefox for ages without any special hacks required.
>> (Stable AND dev cvs)
>>
>> Are you using some sort of cookie-crunching proxy, perhaps?
>>
> >
> I can concur, I've been using firefox with sm for well over a year 
> now.. never been a problem.
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> -- 
> squirrelmail-users mailing list
> Posting Guidelines: 
(Continue reading)

Tristan | 16 Feb 2005 10:18
Picon
Favicon

Re: Firefox related problem

>>>> Thanks for your fast reply but nope, I'm not restricting anything,
>>>> these
>>>> are out of the box Firefoxes without any extensions or settings altered
>>>> whatsoever.

> Could it be that you unchecked Cookies  under Options? I had the same
> problem  which  was rectified when I went into Options, Privacy,
> Cookies, check Allow Sites and added my smtp address under Exceptions.

Nope I'm affraid I didn't change anything on all those Firefoxes they're all standard out of the
box Firefoxes, like I wrote earlier, thanks for you help though.

Tristan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Tristan | 15 Feb 2005 19:19
Picon
Favicon

Re: Firefox related problem

>> Thanks for your fast reply but nope, I'm not restricting anything, these
>> are out of the box Firefoxes without any extensions or settings altered
>> whatsoever.
>
> In that case, I'm unable to duplicate your trouble.  I've been using
> SquirrelMail with Firefox for ages without any special hacks required.
> (Stable AND dev cvs)
>
> Are you using some sort of cookie-crunching proxy, perhaps?

Nope, I tested it on multipe pc's on multiple locations, they're all only behind a adsl-modem with
NAT. No proxies whatsoever I'm affraid. Can it be my Apache config or PHP version or config? It's
strange that other browsers don't have any problem with it though.

Tristan

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users <at> lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

(Continue reading)

Franki | 16 Feb 2005 10:47
Favicon

Re: Firefox related problem

Tristan wrote:
>>>Thanks for your fast reply but nope, I'm not restricting anything, these
>>>are out of the box Firefoxes without any extensions or settings altered
>>>whatsoever.
>>
>>In that case, I'm unable to duplicate your trouble.  I've been using
>>SquirrelMail with Firefox for ages without any special hacks required.
>>(Stable AND dev cvs)
>>
>>Are you using some sort of cookie-crunching proxy, perhaps?
> 
> 
> Nope, I tested it on multipe pc's on multiple locations, they're all only behind a adsl-modem with
> NAT. No proxies whatsoever I'm affraid. Can it be my Apache config or PHP version or config? It's
> strange that other browsers don't have any problem with it though.
> 
> Tristan

Can you setup a test account or something so that others here with 
Firefox can take a look?
I suspect that we could find the issue.
(does the cookie try to set to the same domain you are accessing it 
from? IE is it set to domain.com but you are using www.domain.com to 
access it?)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
(Continue reading)

Paul Lesneiwski | 15 Feb 2005 21:02
Favicon

Re: Firefox related problem


Tristan wrote:
>>>Thanks for your fast reply but nope, I'm not restricting anything, these
>>>are out of the box Firefoxes without any extensions or settings altered
>>>whatsoever.
>>
>>In that case, I'm unable to duplicate your trouble.  I've been using
>>SquirrelMail with Firefox for ages without any special hacks required.
>>(Stable AND dev cvs)
>>
>>Are you using some sort of cookie-crunching proxy, perhaps?
> 
> 
> Nope, I tested it on multipe pc's on multiple locations, they're all only behind a adsl-modem with
> NAT. No proxies whatsoever I'm affraid. Can it be my Apache config or PHP version or config? It's
> strange that other browsers don't have any problem with it though.

It's not a solution to the problem per se, but you could always do a 
permanent redirect of webmail.domain.com to go to domain.com in Apache:

<VirtualHost *:80>
   ServerName webmail.domain.com
   Redirect permanent / http://domain.com
</VirtualHost>

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
(Continue reading)


Gmane