A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=874 ====================================================================== Reported By: ealekseev Assigned To: paul ====================================================================== Project: DBMail Issue ID: 874 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: assigned target: ====================================================================== Date Submitted: 17-Jan-11 20:41 CET Last Modified: 18-Jan-11 07:22 CET ====================================================================== Summary: Desn't work commands with continuation strings Description: dbmail-3.0.0-rc1 + postgresql 9.2
When IMAP commands split up for several lines using continuation, dbmail-imap accept only one continuation string. Example: garreth@garreth-laptop:~$ telnet xx.xx.xxx.xx 143 Trying xx.xx.xxx.xx... Connected to xx.xx.xxx.xx. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 AUTH=LOGIN AUTH=CRAM-MD5 ID] dbmail 0.9.9 ready. .. login {18} + OK gimme that string ad...@fullspace.ru {7} .. BAD missing argument(s) to LOGIN I tried 2.2.9 (from gentoo portage) - all work fine. telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK dbmail imap (protocol version 4r1) server 2.2.9 ready to run .. login {18} + OK gimme that string ad...@fullspace.ru {7} + OK gimme that string PaSSWRD .. OK LOGIN completed ====================================================================== ---------------------------------------------------------------------- (0003143) paul (administrator) - 17-Jan-11 21:25 http://www.dbmail.org/mantis/view.php?id=874#c3143 ---------------------------------------------------------------------- Mmm. Works for me. Can you provide a syslog_logging_levels=511 trace? telnet localhost 10143 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 AUTH=LOGIN AUTH=CRAM-MD5 STARTTLS ID] dbmail 3.0.0-rc1 ready. x login testuser1 {4} + OK gimme that string test x OK [IMAP4rev1 STARTTLS ID ACL RIGHTS=texk NAMESPACE CHILDREN SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE] User testuser1 authenticated ---------------------------------------------------------------------- (0003144) paul (administrator) - 17-Jan-11 21:28 http://www.dbmail.org/mantis/view.php?id=874#c3144 ---------------------------------------------------------------------- Ok. Reproduced. ---------------------------------------------------------------------- (0003145) paul (administrator) - 17-Jan-11 22:17 http://www.dbmail.org/mantis/view.php?id=874#c3145 ---------------------------------------------------------------------- please test this patch: http://git.dbmail.eu/paul/dbmail/patch/?id=3b5c24f0c61f06763f338c0ab1dc2e529ed606b9 ---------------------------------------------------------------------- (0003146) ealekseev (reporter) - 18-Jan-11 07:22 http://www.dbmail.org/mantis/view.php?id=874#c3146 ---------------------------------------------------------------------- Patch works well. Thank you. Issue History Date Modified Username Field Change ====================================================================== 17-Jan-11 20:41 ealekseev New Issue 17-Jan-11 21:25 paul Note Added: 0003143 17-Jan-11 21:28 paul Note Added: 0003144 17-Jan-11 21:28 paul Assigned To => paul 17-Jan-11 21:28 paul Status new => acknowledged 17-Jan-11 22:17 paul Note Added: 0003145 17-Jan-11 22:17 paul Status acknowledged => assigned 18-Jan-11 07:22 ealekseev Note Added: 0003146 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev