Re: IMAP Problem with Strato

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

 



Reviving this thread...

On Thu, Apr 12, 2012 at 5:52 PM,  <hamees@xxxxxx> wrote:
> Hello again,
>
>> It's impossible to respond to this without any further information
> (i.e., see my last message).  Thanks for looking into it.
>
> With some network sniffing it looks like the following part is causing the problem.
>
> Case 1) When opening a message the first time, the server responds with the FLAGS line and SquirrelMail complains about it:
>
> A006 UID FETCH 1812 BODY[1]
> * 2 FETCH (FLAGS (\Seen) UID 1812)
> * 2 FETCH (BODY[1] {9}
> TEST2
>
>  UID 1812)
> A006 OK FETCH complete

In my tests, I see Strato reports the new Seen status twice:

C: A006 UID FETCH 5 BODY[1]
S: * 5 FETCH (FLAGS (\Seen) UID 5)
S: * 5 FETCH (FLAGS (\Seen) UID 5)
S: * 5 FETCH (BODY[1] {174}
S: <snip>
S: UID 5)
S: A006 OK FETCH complete

Although I've heard of no other IMAP server that does this, I think
this is in fact legal.  The IMAP server is allowed to send unsolicited
responses such as in this case where the client request has caused the
message flags to change.

However, it's probably not good that they send the same thing twice,
and the behavior is erratic -- I couldn't cause it to happen again by
simply setting the message as unread.  And again, no one else has
reported an IMAP server that exhibits this behavior.

But, technically, it seems "legal", so...

> Case 2) When opening the same message another time, it doesn't add this line and SquirrelMail is happy:
>
> A004 UID FETCH 1812 BODY[1]
> * 2 FETCH (BODY[1] {9}
> TEST2
>
>  UID 1812)
> A004 OK FETCH complete

Right - the message flags didn't change.

I made two changes in our code repository that should correct this
matter.  Since the code handles IMAP server responses, it'd be REALLY
GOOD if EVERYONE could TEST these changes.

PLEASE download a SquirrelMail 1.4.23 snapshot from our downloads page
and let us know if you see any problems, even if this issue doesn't
apply to you.  The snapshots on our downloads page already contain
these fixes - you do not need to wait to test this.  (Or pull from our
SVN directly.)

Thanks,

  Paul

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
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