Community Discussions and Support
SquirrelMail Error

The SquirrelMail team did include the Return Receipts fix in the final release: 

**************************************
*** SquirrelMail Stable Series 1.4 ***
**************************************

Version 1.4.15 - 23 May 2008
----------------------------
  - Fix saving of Read Receipts to Sent folder.
  - Converted Romanian (ro_RO) to UTF-8.
  - Converted Slovak (sk_SK) to UTF-8.
  - Converted Swedish (sv_SE) to UTF-8.

<p>The SquirrelMail team did include the Return Receipts fix in the final release: </p><p>************************************** *** SquirrelMail Stable Series 1.4 *** ************************************** Version 1.4.15 - 23 May 2008 ----------------------------   - Fix saving of Read Receipts to Sent folder.   - Converted Romanian (ro_RO) to UTF-8.   - Converted Slovak (sk_SK) to UTF-8.   - Converted Swedish (sv_SE) to UTF-8. </p>

My users get the following error message when SquirrelMail tries to send a delivery receipt:
  ERROR: Could not append message to .
  Server responded: [TRYCREATE] No such folder.
Has anyone else seen this problem?
The return receipt gets sent and clicking on INBOX returns the user to the INBOX, it's just an annoyance I'd like to resolve.

SquirrelMail 1.4.15 RC1 (same problem with 1.4.14 SVC)
Mercury/32 4.52



 

<p>My users get the following error message when SquirrelMail tries to send a delivery receipt:   ERROR: Could not append message to .   Server responded: [TRYCREATE] No such folder. Has anyone else seen this problem? The return receipt gets sent and clicking on INBOX returns the user to the INBOX, it's just an annoyance I'd like to resolve.</p><p>SquirrelMail 1.4.15 RC1 (same problem with 1.4.14 SVC) Mercury/32 4.52</p><p>  </p>

[quote user="mgolden"]

My users get the following error message when SquirrelMail tries to send a delivery receipt:
  ERROR: Could not append message to .
  Server responded: [TRYCREATE] No such folder.
Has anyone else seen this problem?
The return receipt gets sent and clicking on INBOX returns the user to the INBOX, it's just an annoyance I'd like to resolve.

SquirrelMail 1.4.15 RC1 (same problem with 1.4.14 SVC)
Mercury/32 4.52

[/quote]

 

I've never seen this error but it looks like SM is trying to put a message into a folder that does not exist in the mailbox.  It uses Sent, Drafts, and Trash by default, maybe it's one of these.  Might also turn on session logging to see exactly what SM is trying to do when sending.

 

 

 

[quote user="mgolden"]<p>My users get the following error message when SquirrelMail tries to send a delivery receipt:   ERROR: Could not append message to .   Server responded: [TRYCREATE] No such folder. Has anyone else seen this problem? The return receipt gets sent and clicking on INBOX returns the user to the INBOX, it's just an annoyance I'd like to resolve.</p><p>SquirrelMail 1.4.15 RC1 (same problem with 1.4.14 SVC) Mercury/32 4.52</p><p>[/quote]</p><p> </p><p>I've never seen this error but it looks like SM is trying to put a message into a folder that does not exist in the mailbox.  It uses Sent, Drafts, and Trash by default, maybe it's one of these.  Might also turn on session logging to see exactly what SM is trying to do when sending.</p><p> </p><p> </p><p> </p>

I have a similar problem with read receipts..  They get sent by Mercury, but squirrelmail seems to take ages to refresh the page.

If I wait I get an error:
Fatal error: Maximum execution time of 30 seconds exceeded in E:\\squirrelmail-1.4.14\functions\imap_general.php on line 901

If I refresh the page every thing is fine !!

I'm still trying to find an answer to this.. 

<p>I have a similar problem with read receipts..  They get sent by Mercury, but squirrelmail seems to take ages to refresh the page.</p><p>If I wait I get an error: Fatal error: Maximum execution time of 30 seconds exceeded in E:\\squirrelmail-1.4.14\functions\imap_general.php on line 901</p><p>If I refresh the page every thing is fine !! </p><p>I'm still trying to find an answer to this.. </p>

Just installed SquirrelMai 1.4.15-rc1.. now get the same error as original poster..

Just installed SquirrelMai 1.4.15-rc1.. now get the same error as original poster..

Here's a copy of my Mercury IMAP log when the error happens..

Any ideas ??

00:14:07.078: Connection from 10.10.10.2, Sun May 18 00:14:07 2008<lf>
00:14:07.093: << * OK xxxx.com IMAP4rev1 Mercury/32 v4.52 server ready.<cr><lf>
00:14:07.093: >> A001 LOGIN "testuser" "xxxxxx"<cr><lf>
00:14:07.093: << A001 OK LOGIN completed.<cr><lf>
00:14:07.093: >> A002 SELECT "INBOX"<cr><lf>
00:14:07.109: << * 135 EXISTS<cr><lf>
00:14:07.109: << * 0 RECENT<cr><lf>
00:14:07.109: << * FLAGS (\Deleted \Draft \Seen \Answered)<cr><lf>
00:14:07.109: << * OK [UIDVALIDITY 1095969924] UID Validity<cr><lf>
00:14:07.109: << * OK [UIDNEXT 31024] Predicted next UID<cr><lf>
00:14:07.109: << * OK [PERMANENTFLAGS (\Deleted \Draft \Seen \Answered)] Settable message flags<cr><lf>
00:14:07.109: << A002 OK [READ-WRITE] SELECT completed.<cr><lf>
00:14:07.109: >> A003 EXPUNGE<cr><lf>
00:14:07.109: << A003 OK EXPUNGE complete.<cr><lf>
00:14:07.125: >> A004 LIST "" "INBOX.Sent"<cr><lf>
00:14:07.125: << * LIST (\NoInferiors) "/" INBOX.Sent<cr><lf>
00:14:07.125: << A004 OK LIST completed.<cr><lf>
00:14:07.125: >> A005 APPEND "" (\Seen) {1369}<cr><lf>
00:14:07.125: << A005 NO [TRYCREATE] No such folder.<cr><lf>
00:14:07.140: >> Received: from 10.10.10.1 ([10.10.10.1])<cr><lf>
00:14:07.140: << Received: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >>         (SquirrelMail authenticated user testuser)<cr><lf>
00:14:07.140: << (SquirrelMail BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >>         by webmail.local with HTTP;<cr><lf>
00:14:07.140: << by BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >>         Sun, 18 May 2008 00:14:07 +0100 (GMT Daylight Time)<cr><lf>
00:14:07.140: << Sun, BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Message-ID: <4b67a831ce86f3509fa5a7ec586aab41.squirrel@webmail.local><cr><lf>
00:14:07.140: << Message-ID: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Date: Sun, 18 May 2008 00:14:07 +0100 (GMT Daylight Time)<cr><lf>
00:14:07.140: << Date: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Subject: Read: Test<cr><lf>
00:14:07.140: << Subject: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> From: "Test User" <test@xxxx.com><cr><lf>
00:14:07.140: << From: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> To: test@xxxx.com<cr><lf>
00:14:07.140: << To: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> User-Agent: SquirrelMail/1.4.15-rc1<cr><lf>
00:14:07.140: << User-Agent: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> MIME-Version: 1.0<cr><lf>
00:14:07.140: << MIME-Version: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Content-Type: multipart/report;report-type=disposition-notification;<cr><lf>
00:14:07.140: << Content-Type: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >>      charset=iso-8859-15;boundary="----=_20080518001407_51747"<cr><lf>
00:14:07.140: << charset=iso-8859-15;boundary="----=_20080518001407_51747" BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> X-Priority: 3 (Normal)<cr><lf>
00:14:07.140: << X-Priority: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Importance: Normal<cr><lf>
00:14:07.140: << Importance: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> ------=_20080518001407_51747<cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> Content-Type: text/plain; charset="iso-8859-15"<cr><lf>
00:14:07.140: << Content-Type: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Content-Transfer-Encoding: us-ascii<cr><lf>
00:14:07.140: << Content-Transfer-Encoding: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> Your message<cr><lf>
00:14:07.140: << Your BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >>     To:  testuser@xxxx.com<cr><lf>
00:14:07.140: << To: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >>     Subject: Test<cr><lf>
00:14:07.140: << Subject: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >>     Sent: Sat, May 17, 2008 22:52<cr><lf>
00:14:07.140: << Sent: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> Was displayed on Sun, May 18, 2008 00:14<cr><lf>
00:14:07.140: << Was BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> ------=_20080518001407_51747<cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> Content-Type: message/disposition-notification<cr><lf>
00:14:07.140: << Content-Type: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Content-Transfer-Encoding: us-ascii<cr><lf>
00:14:07.140: << Content-Transfer-Encoding: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> Reporting-UA : webmail.local ; SquirrelMail (version 1.4.15-rc1) <cr><lf>
00:14:07.140: << Reporting-UA BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Original-Recipient :  testuser@xxxx.com<cr><lf>
00:14:07.140: << Original-Recipient BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Final-Recipient: rfc822; test@xxxx.com<cr><lf>
00:14:07.140: << Final-Recipient: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Original-Message-ID : <10.10.10.1.1211061179.squirrel@webmail.local><cr><lf>
00:14:07.140: << Original-Message-ID BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> Disposition: manual-action/MDN-sent-manually; displayed<cr><lf>
00:14:07.140: << Disposition: BAD Unrecognized or out-of-state command.<cr><lf>
00:14:07.140: >> ------=_20080518001407_51747--<cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: 9: Socket write error 10054 (connection aborted by remote host)
00:14:07.140: >> <cr><lf>
00:14:07.140: << * BAD Malformed command or oversize literal.<cr><lf>
00:14:07.140: 9: Socket write error 10054 (connection aborted by remote host)
00:14:07.140: 7: Socket read error 10054 (connection aborted by remote host)
00:14:07.140: --- Connection closed normally at Sun May 18 00:14:07 2008. ---
00:14:07.140:

&lt;p&gt;Here&#039;s a copy of my Mercury IMAP log when the error happens..&lt;/p&gt;&lt;p&gt;Any ideas ??&lt;/p&gt;&lt;p&gt;00:14:07.078: Connection from 10.10.10.2, Sun May 18 00:14:07 2008&amp;lt;lf&amp;gt; 00:14:07.093: &amp;lt;&amp;lt; * OK xxxx.com IMAP4rev1 Mercury/32 v4.52 server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.093: &amp;gt;&amp;gt; A001 LOGIN &quot;testuser&quot; &quot;xxxxxx&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.093: &amp;lt;&amp;lt; A001 OK LOGIN completed.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.093: &amp;gt;&amp;gt; A002 SELECT &quot;INBOX&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; * 135 EXISTS&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; * 0 RECENT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; * FLAGS (\Deleted \Draft \Seen \Answered)&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; * OK [UIDVALIDITY 1095969924] UID Validity&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; * OK [UIDNEXT 31024] Predicted next UID&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; * OK [PERMANENTFLAGS (\Deleted \Draft \Seen \Answered)] Settable message flags&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; A002 OK [READ-WRITE] SELECT completed.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;gt;&amp;gt; A003 EXPUNGE&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.109: &amp;lt;&amp;lt; A003 OK EXPUNGE complete.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.125: &amp;gt;&amp;gt; A004 LIST &quot;&quot; &quot;INBOX.Sent&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.125: &amp;lt;&amp;lt; * LIST (\NoInferiors) &quot;/&quot; INBOX.Sent&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.125: &amp;lt;&amp;lt; A004 OK LIST completed.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.125: &amp;gt;&amp;gt; A005 APPEND &quot;&quot; (\Seen) {1369}&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.125: &amp;lt;&amp;lt; A005 NO [TRYCREATE] No such folder.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Received: from 10.10.10.1 ([10.10.10.1])&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Received: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SquirrelMail authenticated user testuser)&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; (SquirrelMail BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by webmail.local with HTTP;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; by BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sun, 18 May 2008 00:14:07 +0100 (GMT Daylight Time)&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Sun, BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Message-ID: &amp;lt;4b67a831ce86f3509fa5a7ec586aab41.squirrel@webmail.local&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Message-ID: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Date: Sun, 18 May 2008 00:14:07 +0100 (GMT Daylight Time)&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Date: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Subject: Read: Test&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Subject: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; From: &quot;Test User&quot; &amp;lt;test@xxxx.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; From: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; To: test@xxxx.com&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; To: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; User-Agent: SquirrelMail/1.4.15-rc1&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; User-Agent: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; MIME-Version: 1.0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; MIME-Version: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Content-Type: multipart/report;report-type=disposition-notification;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Content-Type: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; charset=iso-8859-15;boundary=&quot;----=_20080518001407_51747&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; charset=iso-8859-15;boundary=&quot;----=_20080518001407_51747&quot; BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; X-Priority: 3 (Normal)&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; X-Priority: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Importance: Normal&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Importance: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; ------=_20080518001407_51747&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Content-Type: text/plain; charset=&quot;iso-8859-15&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Content-Type: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Content-Transfer-Encoding: us-ascii&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Content-Transfer-Encoding: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Your message&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Your BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; To:&amp;nbsp; testuser@xxxx.com&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; To: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; Subject: Test&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Subject: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; Sent: Sat, May 17, 2008 22:52&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Sent: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Was displayed on Sun, May 18, 2008 00:14&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Was BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; ------=_20080518001407_51747&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Content-Type: message/disposition-notification&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Content-Type: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Content-Transfer-Encoding: us-ascii&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Content-Transfer-Encoding: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Reporting-UA : webmail.local ; SquirrelMail (version 1.4.15-rc1) &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Reporting-UA BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Original-Recipient :&amp;nbsp; testuser@xxxx.com&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Original-Recipient BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Final-Recipient: rfc822; test@xxxx.com&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Final-Recipient: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Original-Message-ID : &amp;lt;10.10.10.1.1211061179.squirrel@webmail.local&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Original-Message-ID BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; Disposition: manual-action/MDN-sent-manually; displayed&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; Disposition: BAD Unrecognized or out-of-state command.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; ------=_20080518001407_51747--&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: 9: Socket write error 10054 (connection aborted by remote host) 00:14:07.140: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: &amp;lt;&amp;lt; * BAD Malformed command or oversize literal.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.140: 9: Socket write error 10054 (connection aborted by remote host) 00:14:07.140: 7: Socket read error 10054 (connection aborted by remote host) 00:14:07.140: --- Connection closed normally at Sun May 18 00:14:07 2008. --- 00:14:07.140: &lt;/p&gt;

I think yuo are coming to the wrong forum for this.  It appears that Squirrel Mail it trying to do something via IMAP4 that is not supported.

 

&lt;p&gt;I think yuo are coming to the wrong forum for this.&amp;nbsp; It appears that Squirrel Mail it trying to do something via IMAP4 that is not supported.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

I have a similar problem with read receipts..  They get sent by

Mercury, but squirrelmail seems to take ages to refresh the page.

If I wait I get an error:
Fatal error: Maximum execution time of 30 seconds exceeded in E:\\squirrelmail-1.4.14\functions\imap_general.php on line 901

 

What do the people at Squirrel Mail have to say?  FWIW, I do not have a problem with either 1.4.x or 1.5.x. 

&lt;blockquote&gt;&lt;p&gt;I have a similar problem with read receipts..&amp;nbsp; They get sent by Mercury, but squirrelmail seems to take ages to refresh the page.&lt;/p&gt;&lt;p&gt;If I wait I get an error: Fatal error: Maximum execution time of 30 seconds exceeded in E:\\squirrelmail-1.4.14\functions\imap_general.php on line 901&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;What do the people at Squirrel Mail have to say?&amp;nbsp; FWIW, I do not have a problem with either 1.4.x or 1.5.x.&amp;nbsp;&lt;/p&gt;

I agree this is the wrong forum... but I think we were both hoping someone else would have had and solved this problem.

Are you running on linux or Windows ?

&lt;P&gt;I agree this&amp;nbsp;is the wrong forum... but I think we were both hoping someone else would have had and solved this problem.&lt;/P&gt; &lt;P&gt;Are you running on linux or Windows ?&lt;/P&gt;

Thanks for posting this problem in the SquirrelMail forum.

Thanks for posting this problem in the SquirrelMail forum.

[quote user="tomt"]

I agree this is the wrong forum... but I think we were both hoping someone else would have had and solved this problem.

Are you running on linux or Windows ?

[/quote]

I'm running Mercury/32 on both Windows and Linux (Ubuntu v8.04 & Wine v1.0 rc1) but only running SquirrelMail on my Win32 HP system with Apache.  I've got a number of different versions of SquirrelMail running.

 

[quote user=&quot;tomt&quot;]&lt;p&gt;I agree this&amp;nbsp;is the wrong forum... but I think we were both hoping someone else would have had and solved this problem.&lt;/p&gt; &lt;p&gt;Are you running on linux or Windows ?&lt;/p&gt;&lt;p&gt;[/quote] &lt;/p&gt;&lt;p&gt;I&#039;m running Mercury/32 on both Windows and Linux (Ubuntu v8.04 &amp;amp; Wine v1.0 rc1) but only running SquirrelMail on my Win32 HP system with Apache.&amp;nbsp; I&#039;ve got a number of different versions of SquirrelMail running.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Hmmm.

I'm running Windows 2003, IIS, PHP and Mercury32 v4.52.
Latest Release Candidate of SquirrelMail.

I've always had issues with read receipts and have never done anything about it !!
I'll see what the SquirrelMail forum says !!

&lt;P&gt;Hmmm. &lt;/P&gt; &lt;P&gt;I&#039;m running Windows 2003, IIS, PHP and Mercury32 v4.52. Latest Release Candidate of SquirrelMail.&lt;/P&gt; &lt;P&gt;I&#039;ve always had issues with read receipts and have never done anything about it !! I&#039;ll see what the SquirrelMail forum says !!&lt;/P&gt;

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:

<small><b>Request:</b></small>
A003 APPEND "" (\Seen) {1369}
<small><b>Response:</b></small>

[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 in SquirrelMail..That they should fix.
But at least this appears to be a quick work around !!

Let me know if it works for you.

 

&lt;P&gt;I&#039;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.&lt;/P&gt; &lt;P&gt;Looking at my logs above the error occurs just after: 00:14:07.125: &amp;gt;&amp;gt; A005 APPEND &quot;&quot; (\Seen) {1369}&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 00:14:07.125: &amp;lt;&amp;lt; A005 NO [TRYCREATE] No such folder.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; &lt;/P&gt; &lt;P&gt;So I ran the command within SquirrelMail / Info: APPEND &quot;&quot; (\Seen) {1369}&lt;/P&gt; &lt;P&gt;This resulted in: &lt;TABLE class=&quot;&quot; width=&quot;95%&quot; bgColor=#ffffff border=0&gt; &lt;TBODY&gt; &lt;TR&gt; &lt;TD class=&quot;&quot;&gt;&lt;FONT color=#0000cc size=2&gt;&lt;SMALL&gt;&lt;B&gt;Request:&lt;/B&gt;&lt;/SMALL&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt; &lt;TD class=&quot;&quot;&gt;A003 APPEND &quot;&quot; (\Seen) {1369} &lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt; &lt;TD class=&quot;&quot;&gt;&lt;FONT color=#0000cc size=2&gt;&lt;SMALL&gt;&lt;B&gt;Response:&lt;/B&gt;&lt;/SMALL&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt; &lt;TD class=&quot;&quot;&gt; &lt;P&gt;[TRYCREATE] No such folder.&lt;/P&gt; &lt;P&gt;Mecury Logs showed:&lt;/P&gt;&lt;FONT size=2&gt; &lt;P&gt;16:48:39.937: &amp;lt;&amp;lt; * CAPABILITY IMAP4rev1 AUTH=PLAIN X-MERCURY-1&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:48:39.937: &amp;lt;&amp;lt; A002 OK CAPABILITY complete.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:48:39.937: &amp;gt;&amp;gt; A003 APPEND &quot;&quot; (\Seen) {1369}&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:48:39.937: &amp;lt;&amp;lt; A003 NO [TRYCREATE] No such folder.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:48:39.937: &amp;gt;&amp;gt; A004 LOGOUT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:48:39.937: &amp;lt;&amp;lt; * BYE IMAP4rev1 server terminating connection.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/P&gt; &lt;P&gt;No such folder...&lt;/P&gt; &lt;P&gt;So I changed the command slightly: APPEND &quot;INBOX.Sent&quot; (\Seen) {1369}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INBOX.Sent being my sent folder&lt;/P&gt; &lt;P&gt;This resulted in what looked like SquirrelMail freezing.. But Mercury Logs showed:&lt;FONT size=2&gt;&lt;/P&gt; &lt;P&gt;16:52:26.031: &amp;lt;&amp;lt; * CAPABILITY IMAP4rev1 AUTH=PLAIN X-MERCURY-1&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:52:26.031: &amp;lt;&amp;lt; A002 OK CAPABILITY complete.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:52:26.031: &amp;gt;&amp;gt; A003 APPEND &quot;INBOX.Sent&quot; (\Seen) {1369}&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 16:52:26.031: &amp;lt;&amp;lt; + Ready to receive 1369 bytes&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/P&gt; &lt;P&gt;So something happened !!&lt;/P&gt; &lt;P&gt;I don&#039;t think SquirrelMail is detecting the sent folder correctly. Looking in functions/IMAP_general.php we have:&lt;/P&gt;&lt;FONT size=2&gt; &lt;P&gt;/** * Saves a message to a given folder -- used for saving sent messages */&lt;/P&gt; &lt;P&gt;function sqimap_append ($imap_stream, $sent_folder, $length) { fputs ($imap_stream, sqimap_session_id() . &quot; APPEND \&quot;$sent_folder\&quot; (\\Seen) {&quot;.$length.&quot;}\r\n&quot;); $tmp = fgets ($imap_stream, 1024); sqimap_append_checkresponse($tmp, $sent_folder);&lt;/P&gt; &lt;P&gt;I editted this to read: fputs ($imap_stream, sqimap_session_id() . &quot; APPEND \&quot;INBOX.Sent\&quot; (\\Seen) {&quot;.$length.&quot;}\r\n&quot;);&lt;/P&gt; &lt;P&gt;And.... it WORKS. :) Read Receipt is sent, SquirrelMail refreshes correctly and the sent receipt is shown in INBOX.Sent.&lt;/P&gt; &lt;P&gt;So this appears to be a bug in SquirrelMail..That they should fix. But at least this appears to be a quick work around !!&lt;/P&gt; &lt;P&gt;Let me know if it works for you.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

I posted the above message on the SquirrelMail forum and got this reply:

This was fixed just after rc1 was released.  Please try a 1.4.15
snapshot which you can download from the SquirrelMail downloads page.

[8-)] Typical !!

&lt;P&gt;I posted the above message on the SquirrelMail forum and got this reply:&lt;/P&gt; &lt;P&gt;This was fixed just after rc1 was released. &amp;nbsp;Please try a 1.4.15 snapshot which you can download from the SquirrelMail downloads page. &lt;/P&gt; &lt;P&gt;[8-)] Typical !!&lt;/P&gt;

Tom,


If the snapshot indeed fixes the problem, let us know.

Thanks for tracking this down!

&lt;p&gt;Tom, &lt;/p&gt;&lt;p&gt; If the snapshot indeed fixes the problem, let us know. &lt;/p&gt;&lt;p&gt;Thanks for tracking this down!&lt;/p&gt;

The latest snapshot does fix it !!
The web site shows it as version 1.4.14, but if you download it it is 1.4.15 

&lt;p&gt;The latest snapshot does fix it !! The web site shows it as version 1.4.14, but if you download it it is 1.4.15&amp;nbsp;&lt;/p&gt;

Tom,
I've got the May 18th 1.4.15[SVN] installed and the Return Receipts is working correctly here as well.  I'm curious to see if the SquirrelMail team releases a 1.4.15 RC2 or goes ahead with the buggy release.
Michael Golden

 

&lt;p&gt;Tom, I&#039;ve got the May 18th 1.4.15[SVN] installed and the Return Receipts is working correctly here as well.&amp;nbsp; I&#039;m curious to see if the SquirrelMail team releases a 1.4.15 RC2 or goes ahead with the buggy release. Michael Golden &amp;nbsp;&lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft