I've decided to have a play and have installed the INFO plugin into
SquirrelMail.
This allows you to run IMAP commands and see the results.
Looking at my logs above the error occurs just after:
00:14:07.125: >> A005 APPEND "" (\Seen) {1369}<cr><lf>
00:14:07.125: << A005 NO [TRYCREATE] No such folder.<cr><lf>
So I ran the command within SquirrelMail / Info:
APPEND "" (\Seen) {1369}
This resulted in:
Request:
A003 APPEND "" (\Seen) {1369}
Response:
[TRYCREATE] No such folder.
Mecury Logs showed:
16:48:39.937: << * CAPABILITY IMAP4rev1 AUTH=PLAIN X-MERCURY-1<cr><lf>
16:48:39.937: << A002 OK CAPABILITY complete.<cr><lf>
16:48:39.937: >> A003 APPEND "" (\Seen) {1369}<cr><lf>
16:48:39.937: << A003 NO [TRYCREATE] No such folder.<cr><lf>
16:48:39.937: >> A004 LOGOUT<cr><lf>
16:48:39.937: << * BYE IMAP4rev1 server terminating connection.<cr><lf>
No such folder...
So I changed the command slightly:
APPEND "INBOX.Sent" (\Seen) {1369}
INBOX.Sent being my sent folder
This resulted in what looked like SquirrelMail freezing.. But Mercury Logs
showed:
16:52:26.031: << * CAPABILITY IMAP4rev1 AUTH=PLAIN X-MERCURY-1<cr><lf>
16:52:26.031: << A002 OK CAPABILITY complete.<cr><lf>
16:52:26.031: >> A003 APPEND "INBOX.Sent" (\Seen) {1369}<cr><lf>
16:52:26.031: << + Ready to receive 1369 bytes<cr><lf>
So something happened !!
I don't think SquirrelMail is detecting the sent folder correctly.
Looking in functions/IMAP_general.php we have:
/**
* Saves a message to a given folder -- used for saving sent messages
*/
function sqimap_append ($imap_stream, $sent_folder, $length) {
fputs ($imap_stream, sqimap_session_id() . " APPEND \"$sent_folder\"
(\\Seen) {".$length."}\r\n");
$tmp = fgets ($imap_stream, 1024);
sqimap_append_checkresponse($tmp, $sent_folder);
I editted this to read:
fputs ($imap_stream, sqimap_session_id() . " APPEND \"INBOX.Sent\" (\\Seen)
{".$length."}\r\n");
And.... it WORKS. :)
Read Receipt is sent, SquirrelMail refreshes correctly and the sent receipt
is shown in INBOX.Sent.
So this appears to be a bug !!
But at least this appears to be a quick work around !!
--
View this message in context:
http://www.nabble.com/Read-receipt-errors.--TRYCREATE--tp17302421p17304527.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users