Hello John Mackerras,
On Sunday, May 22, 2005, you wrote:
> Hi All,
> I have finally got SQ working but whenever I log in I told that I must be
> logged on in
> oreder to access the page.
Cookies? Have you made sure your browser is accepting cookies
properly?
> When I compare the Mercy IMPA logs there seems to be a different set of
> commands
> issued depending on whether I login through PMail or Squirrel, e.g.
[..]
> This one does not work through Squirrel
> 19:57:53.250: << A001 OK LOGIN completed.<cr><lf>
19:57:53.250: >>> A002 CAPABILITY<cr><lf>
> 19:57:53.250: << * CAPABILITY IMAP4rev1 X-MERCURY<cr><lf>
> 19:57:53.265: << A002 OK CAPABILITY complete.<cr><lf>
19:57:53.265: >>> . LIST "INBOX" ""<cr><lf>
> 19:57:53.265: << * LIST (\Noselect) "/" ""<cr><lf>
> 19:57:53.265: << . OK LIST completed.<cr><lf>
19:57:53.265: >>> A003 LOGOUT<cr><lf>
There should be a lot more to the transactions than just this.
SquirrelMail sends a wide variety of commands on login, and folder
list refresh, can you monitor the communications for a bit longer?
The above output looks like it's the call from sqim_delimiter. The
function is trying to work out what the delimiter is set to as you
have got the config set to detect. It should have established the
delimiter to be a /. That function is called in 2 places (3 if you
count the newmail plugin).
- Right after login
- when loading the folder list (Folders menu item at the top)
The one after login would be stored in the session file, and used
afterwards. This suggests that there is more to the transactions than
is being displayed by your logging as that is a simple "test" to find
out a bunch of options.
> The difference seems to be the LIST commands. Does anyone know how I would
> configure Squirrel to be able to LIST properly??
> Also worth noting that this only works on Localhost. When I try to log in
> remotely I just
> get the error:
> PHP Warning: main(../config/config.php): failed to open stream: No such file
> or
> directory in D:\Website\WEBDATA\mail\functions\global.php on line 18 PHP
> Fatal error: main(): Failed opening required '../config/config.php'
> (include_path='.;c:\php4\pear') in
> D:\Website\WEBDATA\mail\functions\global.php on line 18
I think there is an option under directory security that says
something along the lines of "allow parent directories" or something
like that. I dont' have an IIS box in front of me at the moment,
but it's a security option that disables file access using ../
Oh, back to your original problem of not being able to login... I
am assuming you're using IIS because I don't actually see you
mention it on this email (which would have been useful, I only KNOW
you're using IIS because I just spotted your other email). You
might want to take a look at:
http://www.squirrelmail.org/wiki/en_US/InstallingSquirrelMailWindowsIIS
If that doesn't work (we've been having some DB problems recently).
Try searching google for "squirrelmail iis redirect", there are a
few pages that should be able to help.
--
Jonathan Angliss
<[EMAIL PROTECTED]>
-------------------------------------------------------
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
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
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