[Dovecot] Sieve segfault on sieve-before scripts

2009-09-01 Thread Max Ivanov
I use dovecot 1.2.4 release with sieve 0.1.12 If I setup sieve-before script and latest script contains keep at the very end and no personal scripts found then segfault take place. here is part of exim log: 2009-09-01 18:43:06 1MiUZA-0005V9-IB ** ivanov_ma...@domain.my ad...@domain.my

[Dovecot] How to rebuild index?

2009-07-03 Thread Max Ivanov
I've deleted some mails using my handmade tool, it deletes some files in cur subdir, but deleted messages are still appear in thunderbird. I believe that's because of stale index file. Is it safe to delete dovect.index? Or what else should I delete/modify to make TB view in sync with real state of

Re: [Dovecot] Corrupted index cache file issues (Corrupted physical size)

2009-06-10 Thread Max Ivanov
Dovecot never modifies the S= field, even when it notices that it's wrong. So it's your LDA that writes them wrong. Is it ok to rename all files deleting S= and W= fields if no keywords was used?

Re: [Dovecot] Capability problems dovecot 2.0

2009-05-27 Thread Max Ivanov
The alternative that I'm thinking right now is that in the pre-login process Dovecot would only advertise those capabilities that are actually useful before login. Then after login it would send an updated capability reply to the client. The important question here is: Are there any clients

Re: [Dovecot] v3.0 architecture

2009-05-27 Thread Max Ivanov
The big problem is what the protocol should be. Use some existing RPC protocol? It should be something extensible so that a plugin in imap process can talk to a plugin in storage process, without the base processes knowing anything about the details (e.g. imap-quota plugin asking quota usage

Re: [Dovecot] v3.0 architecture

2009-05-27 Thread Max Ivanov
Protocol buffers are Google's ... blah-blah-blah ... using a variety of languages - Java, C++, or Python. I can't find good old plain C in this variety of languages :( Protocol buffers is flexible message format specification, there are plenty implementations of it , including C based:

[Dovecot] What does a flag in Maildir format mean?

2009-05-27 Thread Max Ivanov
Here is sample filename from Maildir: 1243423383.M745917P32169.termserv1,W=1295:2,Sa 1) why there is no S=size field? It definetely differs from 1295.I've not quota plugin, could it be the reason of this? 2) what does a flag mean? I not found any description of this neither in Maildir spec nor

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-26 Thread Max Ivanov
If strace says chdir() failed with EACCES, the only way it could be something else is if kernel is buggy or there is some kernel security module preventing the access. Or dovecot doesn't change uid to user one and still acts as dovecot user, but its unlikely to be true

Re: [Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-26 Thread Max Ivanov
Once more, I changed the behavior so that I actually understand how it works now :) http://hg.dovecot.org/dovecot-1.1/rev/c3612800cb90 Does it affects 1.2 version?

Re: [Dovecot] status=bounced (Command died with signal 11: /usr/lib/dovecot/deliver

2009-05-22 Thread Max Ivanov
I suppose there's no core file in the user's home directory? Why? Doesnt them should be autocreated if ulimit -c is defined and kernel.core_pattern != /dev/null ?

[Dovecot] National symbols imap search

2009-05-19 Thread Max Ivanov
How does imap server should handle search requests with non latin symbols? Rightnow thunderbird 2.0.0.21 and dovecot1.2rc3 are unable to find any message if I try to search for cyrillic symbols. fts, and squat plugins are enabled

[Dovecot] How to manage Seen flags via sieve?

2009-05-18 Thread Max Ivanov
I use public namespace for group mailboxes. If someone sends email from this mailbox , MTA detects it and delivers copy of that message to mailbox/Sent folder, to keep history of all messages available for every group member. I'd like to set Seen flag on all messages that dovecots deliver puts

[Dovecot] Multiple dovecot versions side-by-side

2009-05-18 Thread Max Ivanov
I'm current maintainer of dovecot packages in ALTLinux distro and I plan to make possible to install multiple dovecot versions side-by-side (1.0, 1.1, 1.2) to make upgrade process easier and more robust. Is there any consequences of doing that? I worry about locking maildirs and mboxes, does

[Dovecot] Unable to delete folder in public namespace

2009-05-15 Thread Max Ivanov
I use public namespace for group mailboxes. Users are able to create subfolders , but its impossible to delete them. thunderbird 2.0.0.21 complains: Cant' rename mailbox to another storage type, both namespaces (private and public) use same storage type, so I believe that it's a namespace problem.

[Dovecot] Unable to subscribe to newly created subfolders under public mailboxes with acl plugin enabled

2009-05-14 Thread Max Ivanov
I've group namespace and b2b mailbox under it. I'm unable to subscribe to it and deliver emails there. Here is my problem: if I create subfolder (lets name it subf) under b2b mailbox I'm unable to subscribe to it until acl plugin is enabled. Even if I put dovecot-acl file in .b2b.subf folder with