Unable to save mail in cyrus imapd
|Reported by:||felfert||Owned by:|
I'm using cyrus (2.3.7) and am trying to get RCMail 0.4-beta running.
During my tests, i noticed, that RCM always reports an error, when it is appending a mail to some imap folder (e.g.: saving in Sent after sending the mail). Fortunately, being a developer myself, I was able to dig into the code: It turns out, that RCM does not adhere to RFC when it is using the function appendFromFile() in program/includes/rcube_imap_generic.php. Instead of using CRLF as line-delimiter, it is using LF which in turn triggers an error in cyrus. As you might know, cyrus is very picky about newlines as it adheres *very* close to RFCs.
In order to show CR and LF in the logs, i instrumented the existing logging slightly (now shown as \r and \n respectively). This change is attached in the first attachment (imap-debug.patch).
Will attach more stuff after submission ...
Change History (21)
comment:13 Changed 3 years ago by mschiff
- Resolution fixed deleted
- Severity changed from blocker to normal
- Status changed from closed to reopened
- Version changed from 0.4-beta to 0.4-stable