Error message on reply
"Sebastian Voitzsch" <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I think I discovered a bug in squirrelmail. I´m using it with dovecot,
and most features work ok.
However, I encounter an error message everytime I reply to a mail. The
short error is: "Could not append message to Sent. Server responded:
RED)".
This doesn´t happen when creating a new mail, only in responding. I changed
functions/imap_general.php to get the full response from server, what is:
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent KMAILFORWARDED
KMAILTODO KMAILWATCHED KMAILIGNORED $FORWARDED $TODO $WATCHED $IGNORED)
Obviously, the "NO" from "IGNORED" / "KMAILIGNORED" makes the term
<preg_match("/(.*)(BAD|NO)(.*)$/"> to fail.
Think there should be a \b before and after the (BAD|NO):
"/(.*)\b(BAD|NO)\b(.*)$/"
This way it only fails when "NO"/"BAD" is on a word boundary, not within
other words.
Thanks,
Sebastian
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel