The following issue has been RESOLVED.
============================================================
==========
http://w
ww.dbmail.org/mantis/view.php?id=710
============================================================
==========
Reported By: hinote
Assigned To:
============================================================
==========
Project: DBMail
Issue ID: 710
Category: IMAP daemon
Reproducibility: always
Severity: tweak
Priority: low
Status: resolved
target:
Resolution: fixed
Fixed in Version: 2.2.11
============================================================
==========
Date Submitted: 18-Jun-08 11:54 CEST
Last Modified: 01-Jul-08 09:55 CEST
============================================================
==========
Summary: eliminate annoying
"[Illegal seek] on read-stream"
message from imap4d
Description:
(I do not know if your bugtracker is a proper place for
posting suggestions
and patches, sorry if I'm wrong posting it here...)
Patch for 2.2.10 which eliminates annoying messages with
TRACE_ERROR level
from imap4d.c:
diff -ruN orig/imap4.c new/imap4.c
--- orig/imap4.c 2008-06-18 13:32:38.000000000 +0400
+++ new/imap4.c 2008-06-18 13:42:53.000000000 +0400
 -136,10
+136,12 
if (ferror(session->ci->rx)) {
if (errno) {
serr = errno;
- TRACE(TRACE_ERROR, "[%s] on
read-streamn", strerror(serr));
if (serr == EPIPE) {
+ TRACE(TRACE_ERROR, "[%s] on read-stream,
delete sessionn",
strerror(serr));
dbmail_imap_session_delete(session);
return -1; /* broken pipe */
+ } else {
+ TRACE(TRACE_INFO, "[%s] on read-stream,
clearerr and proceedn",
strerror(serr));
}
}
clearerr(session->ci->rx);
 -148,10
+150,12 
if (ferror(session->ci->tx)) {
if (errno) {
serr = errno;
- TRACE(TRACE_ERROR, "[%s] on
write-streamn", strerror(serr));
if (serr == EPIPE) {
+ TRACE(TRACE_ERROR, "[%s] on write-stream,
delete sessionn",
strerror(serr));
dbmail_imap_session_delete(session);
return -1; /* broken pipe */
+ } else {
+ TRACE(TRACE_INFO, "[%s] on write-stream,
clearerr and proceedn",
strerror(serr));
}
}
clearerr(session->ci->tx);
============================================================
==========
------------------------------------------------------------
----------
hinote - 18-Jun-08 13:05
------------------------------------------------------------
----------
Category should be corrected, it's not Authentication layer,
oops
------------------------------------------------------------
----------
paul - 18-Jun-08 22:13
------------------------------------------------------------
----------
could you please attach the patch as a file, rather than
pasting it. Or
send it to dbmail-dev
------------------------------------------------------------
----------
hinote - 19-Jun-08 14:15
------------------------------------------------------------
----------
okay, attached here
------------------------------------------------------------
----------
hinote - 19-Jun-08 20:31
------------------------------------------------------------
----------
oops, posted wrong patch previous time, it was a preliminary
version I used
for testing which still produces messages on the same
TRACE_ERROR level...
see actually 2.patch attached
------------------------------------------------------------
----------
paul - 01-Jul-08 09:55
------------------------------------------------------------
----------
patch applied, thanks.
Issue History
Date Modified Username Field
Change
============================================================
==========
18-Jun-08 11:54 hinote New Issue
18-Jun-08 13:05 hinote Note Added: 0002570
18-Jun-08 13:07 hinote Issue Monitored: hinote
18-Jun-08 22:13 paul Note Added: 0002571
18-Jun-08 22:13 paul Priority
normal => low
18-Jun-08 22:13 paul Severity
minor => tweak
18-Jun-08 22:13 paul Status new
=> confirmed
18-Jun-08 22:13 paul Category
Authentication layer =>
IMAP daemon
19-Jun-08 14:15 hinote File Added: 1.patch
19-Jun-08 14:15 hinote Note Added: 0002573
19-Jun-08 20:29 hinote File Added: 2.patch
19-Jun-08 20:31 hinote Note Added: 0002579
01-Jul-08 09:55 paul Note Added: 0002584
01-Jul-08 09:55 paul Status
confirmed => resolved
01-Jul-08 09:55 paul Resolution open
=> fixed
01-Jul-08 09:55 paul Fixed in Version
=> 2.2.11
============================================================
==========
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev
|