Configuring SquirrelMail

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Configuring SquirrelMail

Postby Marauder69FR » Nov 06 06 9:10 am

Hi

Can you tell me how to configure Squirrel Mail ?
I'm running wingate on W2K Pro.
Squirrelmail 1.4.8.

I can connect but I logout immediatly and get an error...
I cant find where i'am wrong.

Help :)

thanks
Marauder69FR
 
Posts: 41
Joined: Aug 27 05 12:33 am
Location: France, Lyon

Postby adrien » Nov 06 06 1:55 pm

Hi

What error do you get?

We found some problems with Squirrelmail, which look to be design flaws in squirrelmail itself - a race condition between multiple concurrent requests which deletes the PHP session file, and therefore logs you out straight away whenever your browser makes more than 1 concurrent request.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Postby Marauder69FR » Nov 06 06 8:13 pm

Here is what's happening
- I log in with correct user & pwd (seems to be ok in logfiles)
- The two frames appears correctly but :
- there's nothing in the left frame
- there's an error in the right frame :
ERROR
Unknown user or password incorrect.
Go to the login page
(user & pwd are wrong in logfiles...)

Any idea ?

Sorry for my poor english !

Best regards
adrien wrote:Hi

What error do you get?

We found some problems with Squirrelmail, which look to be design flaws in squirrelmail itself - a race condition between multiple concurrent requests which deletes the PHP session file, and therefore logs you out straight away whenever your browser makes more than 1 concurrent request.

Adrien
Marauder69FR
 
Posts: 41
Joined: Aug 27 05 12:33 am
Location: France, Lyon

Postby Marauder69FR » Nov 13 06 8:11 pm

So, can someone help me :) ?

Marauder69FR wrote:Here is what's happening
- I log in with correct user & pwd (seems to be ok in logfiles)
- The two frames appears correctly but :
- there's nothing in the left frame
- there's an error in the right frame :
ERROR
Unknown user or password incorrect.
Go to the login page
(user & pwd are wrong in logfiles...)

Any idea ?

Sorry for my poor english !

Best regards
adrien wrote:Hi

What error do you get?

We found some problems with Squirrelmail, which look to be design flaws in squirrelmail itself - a race condition between multiple concurrent requests which deletes the PHP session file, and therefore logs you out straight away whenever your browser makes more than 1 concurrent request.

Adrien
Marauder69FR
 
Posts: 41
Joined: Aug 27 05 12:33 am
Location: France, Lyon

Postby adrien » Nov 13 06 9:52 pm

Hi

I did a lot of testing on this, and couldn't get Squirrelmail working on IIS either. I came to the conclusion it was a bug with Squirrelmail to do with race condition accessing session files.

There are a lot of forum posts around the net about this problem with Squirrelmail, it's not isolated to WinGate.

that doesn't leave many options.

1. Try and debug Squirrelmail PHP code. Not for the faint-hearted
2. try another free PHP-based IMAP client like Horde. That's not that easy to get going either.

You could also try running the Squirrelmail site on a different web server like IIS, but I haven't had any luck with this for ages. Also, the latest squirrelmail uses a "SEARCH ALL" command to select all the IDs of messages which WinGate 6.1.4 doesn't support. Previous versions don't do this. We've fixed this in the lab, and we're running the final tests on a release candidate which will have this fix in it as well.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Postby Marauder69FR » Nov 21 06 8:38 am

hi

Thank you for searching.

I'm actually using IIS .
I'll try to find the problem...
I'll tell you when ok !

best regards



adrien wrote:Hi

I did a lot of testing on this, and couldn't get Squirrelmail working on IIS either. I came to the conclusion it was a bug with Squirrelmail to do with race condition accessing session files.

There are a lot of forum posts around the net about this problem with Squirrelmail, it's not isolated to WinGate.

that doesn't leave many options.

1. Try and debug Squirrelmail PHP code. Not for the faint-hearted
2. try another free PHP-based IMAP client like Horde. That's not that easy to get going either.

You could also try running the Squirrelmail site on a different web server like IIS, but I haven't had any luck with this for ages. Also, the latest squirrelmail uses a "SEARCH ALL" command to select all the IDs of messages which WinGate 6.1.4 doesn't support. Previous versions don't do this. We've fixed this in the lab, and we're running the final tests on a release candidate which will have this fix in it as well.

Adrien
Marauder69FR
 
Posts: 41
Joined: Aug 27 05 12:33 am
Location: France, Lyon

Postby Marauder69FR » Dec 02 06 8:27 am

Hello from France

Ok it works fine now !

In the src/redirect.php file, you have to replace :
header('Location: $redirect_url');
echo $redirect_url;

with:
echo '<html><head><META HTTP-EQUIV=\'Refresh\' CONTENT=\'0; URL=webmail.php\'></head><body><a href=$redirect_url></a></body></html>';

Its now OK.

Is it possible to change password account from web client ?
I've try many plugins in squirrel mail but no one is running.

What command is used in wingate if supported ?

Thanks

Best regards

Damien

Marauder69FR wrote:hi

Thank you for searching.

I'm actually using IIS .
I'll try to find the problem...
I'll tell you when ok !

best regards



adrien wrote:Hi

I did a lot of testing on this, and couldn't get Squirrelmail working on IIS either. I came to the conclusion it was a bug with Squirrelmail to do with race condition accessing session files.

There are a lot of forum posts around the net about this problem with Squirrelmail, it's not isolated to WinGate.

that doesn't leave many options.

1. Try and debug Squirrelmail PHP code. Not for the faint-hearted
2. try another free PHP-based IMAP client like Horde. That's not that easy to get going either.

You could also try running the Squirrelmail site on a different web server like IIS, but I haven't had any luck with this for ages. Also, the latest squirrelmail uses a "SEARCH ALL" command to select all the IDs of messages which WinGate 6.1.4 doesn't support. Previous versions don't do this. We've fixed this in the lab, and we're running the final tests on a release candidate which will have this fix in it as well.

Adrien
Marauder69FR
 
Posts: 41
Joined: Aug 27 05 12:33 am
Location: France, Lyon

Postby adrien » Dec 07 06 5:22 pm

Hi

the IMAP server doesn't have a function to change a user password - I'm not aware of any IMAP extension that allows that, I'll have to have a look.

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot] and 6 guests