[Dovecot] Problem with IMAP (rename and delete non existent folder).

2009-05-08 Thread Lenthir
I don't know if this problem exists only in my version of dovecot, or in all... To reproduce BUG do this (use gdb): telnet localhost 143 o login a...@email.sth verystrong_pass o delete "kj-test-folder" o rename "kj-test-folder" o rename "kj-test-folder" "other-folder" SIGABRT Of course kj-tes

[Dovecot] Problem with IMAP (rename and delete non existent folder).

2009-05-08 Thread Lenthir
I don't know if this problem exists only in my version of dovecot, or in all... To reproduce BUG do this (use gdb): telnet localhost 143 o login a...@email.sth verystrong_pass o delete "kj-test-folder" o rename "kj-test-folder" o rename "kj-test-folder" "other-folder" SIGABRT Of course kj-test

Re: [Dovecot] Problem with IMAP (rename and delete non existent folder).

2009-05-08 Thread Lenthir
Charles Marcus pisze: My version of Dovecot is 1.2beta1. Do you know anything about this bug? Well, please don't take this the wrong way, but... I know Timo appreciates those willing/able to test the beta releases and report bugs, but if you are going to use beta s/w - ANY beta s/w - you need

Re: [Dovecot] Problem with IMAP (rename and delete non existent folder).

2009-05-08 Thread Lenthir
jsie...@psu.edu pisze: I'm running dovecot 1.2.rc3(hg revision 9018:0bb192fe0abd) on AIX 5.3 with mbox files. Here are my tests: 2 create "kj-test-folder" 2 OK Create completed. 3 rename "kj-test-folder" 3 NO Empty mailbox name. 4 delete "kj-test-folder" 4 OK Delete completed. 5 rename "kj-test-

Re: [Dovecot] Problem with IMAP (rename and delete non existent folder).

2009-05-08 Thread Lenthir
1 delete "some-unexistent-folder" * BAD Error in IMAP command 1: Unknown command. 2 rename "some-unexistent-folder" "some-other-name" 2 NO [NONEXISTENT] Mailbox doesn't exist: some-unexistent-folder 3 logout * BYE Logging out 3 OK Logout completed. If nothing else, build the latest version and in

[Dovecot] Namespace delimiter...

2009-05-25 Thread Lenthir
As RFC3501 (IMAP) say: 'A NIL hierarchy delimiter means that no hierarchy exists; the name is a "flat" name.' How to change delimiter to NIL? We have flat namespaces in our storage. Now I hardcoded this and everything is working, but maybe it is another possibility... -- Konrad

Re: [Dovecot] Namespace delimiter...

2009-05-28 Thread Lenthir
Timo Sirainen pisze: Really? I would have thought a lot of clients would just break with it. What do you mean you have flat namespaces? I can't think of any reason to do that. This mean that clients can create folders only in root folder. And RFC predict that case! Thunderbird works... without

Re: [Dovecot] Namespace delimiter...

2009-06-01 Thread Lenthir
Timo Sirainen pisze: Alternatively you can unset "Server supports folders that contain sub-folders and messages" setting in Thunderbird. It's impossible, we can't change anything on the client side. The configuration must be the simpliest as it can be... Our storage has two parts... MySQL data

Re: [Dovecot] Namespace delimiter...

2009-06-01 Thread Lenthir
Timo Sirainen pisze: OK, then I think you'll just have to end up patching that small part of Dovecot. Supporting NIL separator seems like more trouble than worth. Maybe you can also do something similar to how Maildir++ works, just decide that e.g. ^ character is a hierarchy separator and have

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread Lenthir
Cédric Laruelle pisze: Reproduced on 1.1.14 too and really problematic for me Can't reproduce in 1.2rc4 :) Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK POP3 [127.0.0.1] server ready user krzys +OK User name accepted, password please pass wew -ERR Bad login / Bledne

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-04 Thread Lenthir
Timo Sirainen pisze: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK POP3 [127.0.0.1] server ready user krzys +OK User name accepted, password please pass wew -ERR Bad login / Bledne haslo lub login. Connection closed by foreign host. That's not Dovecot. Hm... ups..

Re: [Dovecot] Dovecot under brute force attack - nice attacker

2009-06-05 Thread Lenthir
Timo Sirainen pisze: On Jun 4, 2009, at 10:01 AM, Lenthir wrote: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK POP3 [127.0.0.1] server ready user krzys +OK User name accepted, password please pass wew -ERR Bad login / Bledne haslo lub login. Connection