The following issue has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=748 ====================================================================== Reported By: waza123 Assigned To: paul ====================================================================== Project: DBMail Issue ID: 748 Category: IMAP daemon Reproducibility: always Severity: minor Priority: normal Status: resolved target: Resolution: fixed Fixed in Version: 2.3.5 ====================================================================== Date Submitted: 21-Dec-08 21:08 CET Last Modified: 22-Dec-08 23:31 CET ====================================================================== Summary: Cannot login to IMAP, memory leak Description: cannot login with random logins, with most works fine, but some logins not working
dbmail from GIT Wed, 17 Dec 2008 15:11:10 Screenshot http://www.nabble.com/file/p21106644/dbmail_error.gif As you can see on screenshot, one character is added at end of email, and that email cannot be found in mysql database. ====================================================================== ---------------------------------------------------------------------- waza123 - 21-Dec-08 21:11 ---------------------------------------------------------------------- p.s.: in commit [Sun, 21 Dec 2008 16:04:25 +0000] you lost ";" after "END_TRY" in /src/maintenance.c http://git.dbmail.eu/paul/dbmail/?p=paul/dbmail;a=commitdiff;h=73305a50d614086ab2b4741e7692e99748bf5766 ---------------------------------------------------------------------- waza123 - 22-Dec-08 00:38 ---------------------------------------------------------------------- i found a way how to reproduce it ! -- length of password must be: 12 -- no mater what chars or numbers or both SET passwd='aaaaaaaaaaaa' then try to connect with imap_open() Warning: imap_open() [function.imap-open]: Couldn't open stream {127.0.0.1:143}INBOX in /home/ -- if you set any other password length: 11 or 13 or 10 or any then all ok SET passwd='aaaaa' ---------------------------------------------------------------------- waza123 - 22-Dec-08 01:19 ---------------------------------------------------------------------- and its not working too if strlen(username) == 12 ---------------------------------------------------------------------- paul - 22-Dec-08 10:32 ---------------------------------------------------------------------- I'm unable to reproduce this problem. Have you tried to rule out the php module by doing a telnet? Like this: telnet myhost 143 x login someuser somepass x logout ---------------------------------------------------------------------- waza123 - 22-Dec-08 12:49 ---------------------------------------------------------------------- php v5.2.8 can you try with php? with telnet and any mail client works fine, But if i restart dbmail-imapd then i can connect with php one time but if i try again connect then cant ---------------------------------------------------------------------- paul - 22-Dec-08 23:31 ---------------------------------------------------------------------- I believe this has now been fixed. Looks like a bug in g_base64_decode that we're now working around. Issue History Date Modified Username Field Change ====================================================================== 21-Dec-08 21:08 waza123 New Issue 21-Dec-08 21:08 waza123 File Added: dbmail_error.gif 21-Dec-08 21:11 waza123 Note Added: 0002709 22-Dec-08 00:38 waza123 Note Added: 0002710 22-Dec-08 01:19 waza123 Note Added: 0002711 22-Dec-08 10:32 paul Note Added: 0002712 22-Dec-08 12:49 waza123 Note Added: 0002713 22-Dec-08 23:31 paul Note Added: 0002715 22-Dec-08 23:31 paul Assigned To => paul 22-Dec-08 23:31 paul Status new => resolved 22-Dec-08 23:31 paul Resolution open => fixed 22-Dec-08 23:31 paul Fixed in Version => 2.3.5 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev