Re: SquirrelMail and mod_proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



DO NOT reply offlist.  This is rude to the rest of the community.

Please don't top post.  READ the mailing list posting guidelines
BEFORE posting if in doubt.

>> > In a single-sign-on project I am required to forward SquirrelMail
>> > through an
>>
>> > Apache HTTPD reverse proxy implemented with mod_proxy. SquirrelMail
>> > works
>> > fine while directly accessing it, but when proxied it logs-out right
>> > after
>> > sending any e-mail. The error message is:
>> >
>> > "You must be logged in to access this page."
>> >
>> > I don't see any relevant error messages in the logs. Everything works
>> > fine,
>> > the email is actually sent, but it just logs-out. Also, I can see
>> > SquirrelMail's cookie being set and used. I searched the mailing list
>> > and
>> > found a similar problem in:
>> >
>> > http://www.nabble.com/logs-me-out-when-sending-mail.-td12874154.html
>> >
>> > The proposed fix in the end doesn't apply in my case, because the domain
>> > seems to be correct.
>> >
>> > Can anyone please help me with this? Thank you very much in advance.
>> >
>> > The involved software versions are:
>> >
>> > CentOS 5.2
>> > SquirrelMail 1.4.8
>>
>> Install a fresh tarball of 1.4.17 from our download page and try
>> again.  If you still have that problem, you might be able to help fix
>> an issue that shows up from time to time but reporters are too flaky
>> to follow up on.  However, it is possible that your problem is merely
>> that with such a setup, you will always need to set
>> $config_location_base in the configuration file.
>
> Hello Paul, thank you for your reply.
>
> Your advice about setting the $config_location_base property (conf.pl 4->15)
> worked. It turns out that SquirrelMail was trying to forward the page to an
> invalid URL based on localhost. mod_proxy didn't know how to handle that,
> and so, failed to retrieve SquirrelMail's cookie, triggering the log-out
> procedure.

Good for you, but if you want to help the community, you could try to
help debug the situation to find out if $config_location_base is
*only* needed when sending email, why that is.  That is the anomalous
possible bug that others have reported, but no one wants to help fix.

>> > Apache HTTPD 2.2.3
>> > PHP 5.1.6
>> > Dovecot 1.0.7
>> > Postfix 2.3.3
>> >
>> > Installed Plugins
>> > 1. delete_move_next
>> > 2. squirrelspell
>> > 3. newmail
>> > 4. addgraphics
>> > 5. image_buttons
>> > 6. admin_add
>> > 7. quota_usage
>> > 8. cookie_warning
>> > 9. compatibility

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux