Re: [Dovecot] Problems setting up dovecot 2.0.1 with kerberos auth

2010-09-06 Thread Andre
Il giorno 05/set/2010, alle ore 19.02, Dirk Heinrichs ha scritto: Hi, I'm trying to setup dovecot 2.0.1 on a debian squeeze test box. I want to integrate it into an already working kerberos5 setup, but I don't get it to work. I've added created host/ smtp/ and imap/ service principals

Re: [Dovecot] dovecot-uidlist: Duplicate file entry at line

2010-09-06 Thread Luca Palazzo
Hi Timo, I tried the patch and duplicate uid are always there. Look at this: Sep 6 10:51:30 10.97.1.33 dovecot: lmtp(29909, xxx...@unict.it): save: box=INBOX, uid=133197, msgid=20100906104944.Q92185@, size=7414, from= Sep 6 10:51:30 10.97.1.33 dovecot: lmtp(29909, xxx...@unict.it):

Re: [Dovecot] dovecot-uidlist: Duplicate file entry at line

2010-09-06 Thread Luca Palazzo
Timo, please also check this output of lmtp process: stat64(/virtual1/unict.it/d///Maildir/dovecot-uidlist, {st_mode=S_IFREG|0644, st_size=44628, ...}) = 0 _llseek(42, 0, [0], SEEK_SET) = 0 fstat64(42, {st_mode=S_IFREG|0644, st_size=44628, ...}) = 0 fstat64(42,

Re: [Dovecot] dovecot-uidlist: Duplicate file entry at line

2010-09-06 Thread Andre
Il giorno 06/set/2010, alle ore 11.11, Luca Palazzo ha scritto: Hi Timo, I tried the patch and duplicate uid are always there. Look at this: Sep 6 10:51:30 10.97.1.33 dovecot: lmtp(29909, xxx...@unict.it): save: box=INBOX, uid=133197, msgid=20100906104944.Q92185@, size=7414, from= Sep

Re: [Dovecot] mdbox: Cannot create subfolder called dbox-Mails (2.0beta5)

2010-09-06 Thread William Blunn
On 04/09/2010 16:37, Timo Sirainen wrote: On 4.9.2010, at 11.40, William Blunn wrote: OK, but then it occurred to me, if we can use DIRNAME with Maildir, how about LAYOUT with dbox? How about having the ability to specify Maildir++ folder layout under dbox? For example: You can.

Re: [Dovecot] Documentation for altpath / altmove / ?Alternate storage

2010-09-06 Thread William Blunn
On 03/09/2010 11:13, William Blunn wrote: I was thinking about documentation for alternate storage. I have added a new section http://wiki2.dovecot.org/MailboxFormat/dbox#Alternate_storage and made various changes elsewhere http://wiki2.dovecot.org/MailLocation/dbox#Alternate_storage

[Dovecot] Quotas - per folder message limits?

2010-09-06 Thread Alan Brown
Is there any way of enforcing a Maildir per-folder message limit in Dovecot? We're finding major performance hits once a threshold of files/directory is exceeded. This applies across all common filesystems with the threshold differing depending on the FS. GFS2 pretty much _STOPS_ for 10

Re: [Dovecot] notification plugin

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 07:41 +0200, Wolfgang Rosenauer wrote: I saw the mail-log plugin and was playing around with it but it seems to not create events if new mails arrive but only if mail are copied or saved from an IMAP connection. You didn't mention what Dovecot version you were looking

Re: [Dovecot] Quotas - per folder message limits?

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 14:26 +0100, Alan Brown wrote: Is there any way of enforcing a Maildir per-folder message limit in Dovecot? No. We're finding major performance hits once a threshold of files/directory is exceeded. This applies across all common filesystems with the threshold

Re: [Dovecot] LAYOUT=maildir++ under mbox?

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 12:37 +0100, William Blunn wrote: Whilst documenting LAYOUT=maildir++ under dbox, that got me thinking: Can we specify :LAYOUT=maildir++ with mbox? Yes, ever since LAYOUT was added. If I have it right, this should then remove the problem of not being able to have

[Dovecot] Plugin execution order and Sieve

2010-09-06 Thread Charly
Hello, I use dovecot 2.0.1 and pigeonhole Sieve (version of August), I try to create a deliver plugin (lda or lmtp), but if I declare, in addition to my plugin, sieve, sieve is called first, and my plugin is never called. I tried to change the order of declaration of plugins, but nothing

Re: [Dovecot] Plugin execution order and Sieve

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 16:10 +0200, Charly wrote: dovecot-2-0-pigeonhole-d51650c8af85/src/plugins/lda-sieve/lda-sieve-plugin.c 2010-09-02 11:48:22.0 +0200 @@ -775,7 +775,8 @@ } T_END; -return ret; +//return ret; +return next_deliver_mail(mdctx,storage_r);

Re: [Dovecot] dovecot-uidlist: Duplicate file entry at line

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 11:11 +0200, Luca Palazzo wrote: Sep 6 10:51:31 10.97.1.33 dovecot: imap(xxx...@unict.it): Warning: /virtual1/unict.it/g/xx//Maildir/dovecot-uidlist: Duplicate file entry at line 883: 1277948239.M332097P873 Hmmh. See if

[Dovecot] Specify auth service for protocols

2010-09-06 Thread Lukas Garberg
Hi all, I'm building a mail system where two machines are functioning both as POP3/IMAP-proxy (using dovecot 1.2.12) and SMTP-server with authentication for outgoing mail. The SMTP-server is postfix with dovecot SASL as authentication backend. User credentials for SMTP auth as well as the mapping

Re: [Dovecot] notification plugin

2010-09-06 Thread Wolfgang Rosenauer
Hi, On Mon, Sep 6, 2010 at 3:53 PM, Timo Sirainen t...@iki.fi wrote: On Mon, 2010-09-06 at 07:41 +0200, Wolfgang Rosenauer wrote: I saw the mail-log plugin and was playing around with it but it seems to not create events if new mails arrive but only if mail are copied or saved from an IMAP

Re: [Dovecot] Specify auth service for protocols

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 16:42 +0200, Lukas Garberg wrote: As these additions cannot be used in the SQL query for the auth service used by postfix (as users would be able to authenticate with any password) I have defined a second auth service (auth postfix { ... }) in dovecot.conf which is

Re: [Dovecot] notification plugin

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 16:50 +0200, Wolfgang Rosenauer wrote: You didn't mention what Dovecot version you were looking at. v2.0 has notify plugin which can be easily used to hook into mail_save event. I looked at 2.0.1. Hmm, so mail_save event is supposed to show mails delivered into a

Re: [Dovecot] Specify auth service for protocols

2010-09-06 Thread Lukas Garberg
On Mon, 2010-09-06 at 15:51 +0100, Timo Sirainen wrote: On Mon, 2010-09-06 at 16:42 +0200, Lukas Garberg wrote: As these additions cannot be used in the SQL query for the auth service used by postfix (as users would be able to authenticate with any password) I have defined a second auth

Re: [Dovecot] mdbox: Cannot create subfolder called dbox-Mails (2.0beta5)

2010-09-06 Thread William Blunn
On 04/09/2010 16:37, Timo Sirainen wrote: On 4.9.2010, at 11.40, William Blunn wrote: OK, but then it occurred to me, if we can use DIRNAME with Maildir, how about LAYOUT with dbox? How about having the ability to specify Maildir++ folder layout under dbox? For example: You can.

Re: [Dovecot] mdbox: Cannot create subfolder called dbox-Mails (2.0beta5)

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 16:01 +0100, William Blunn wrote: Sep 6 14:41:08 pod dovecot: lda(bill): Error: user bill: Initialization failed: Initializing mail storage from mail_location setting failed: Mailbox list driver maildir++: maildir_name not supported by this driver This should help:

Re: [Dovecot] LAYOUT=maildir++ under mbox?

2010-09-06 Thread William Blunn
On 06/09/2010 15:07, Timo Sirainen wrote: On Mon, 2010-09-06 at 12:37 +0100, William Blunn wrote: Whilst documenting LAYOUT=maildir++ under dbox, that got me thinking: Can we specify :LAYOUT=maildir++ with mbox? Yes, ever since LAYOUT was added. If I have it right, this should

Re: [Dovecot] dovecot Digest, Vol 89, Issue 26

2010-09-06 Thread Alan Brown
Timo Sirainen t...@iki.fi Wrote: On Mon, 2010-09-06 at 12:37 +0100, William Blunn wrote: Whilst documenting LAYOUT=maildir++ under dbox, that got me thinking: Can we specify :LAYOUT=maildir++ with mbox? Yes, ever since LAYOUT was added. If I have it right, this should then remove the

Re: [Dovecot] LAYOUT=maildir++ under mbox?

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 16:36 +0100, William Blunn wrote: mail_location = mbox:~/mail:LAYOUT=maildir++ Mail for INBOX goes to an mbox file ~/mail/inbox. Mail for folder folder goes to an mbox file ~/mail/.folder. But mail for folder folder/subfolder gets stuffed into ~/mail/inbox.

Re: [Dovecot] Dovecot upgrades break Blackberry instant email (BIS)

2010-09-06 Thread Timo Sirainen
On Fri, 2010-09-03 at 17:50 -0400, Daryl Richards wrote: Just for reference; I have quite a few people with Blackberrys connecting to my server too. And, many do not do idle. I can't tell why some do and some don't. I've tried adding IDLE as a capability before auth, no help. I've tried

Re: [Dovecot] LAYOUT=maildir++ under mbox?

2010-09-06 Thread William Blunn
On 06/09/2010 16:41, Timo Sirainen wrote: On Mon, 2010-09-06 at 16:36 +0100, William Blunn wrote: mail_location = mbox:~/mail:LAYOUT=maildir++ Mail for INBOX goes to an mbox file ~/mail/inbox. Mail for folder folder goes to an mbox file ~/mail/.folder. But mail for folder

Re: [Dovecot] dovecot Digest, Vol 89, Issue 25

2010-09-06 Thread Alan Brown
Timo Sirainen t...@iki.fi Wrote: On Mon, 2010-09-06 at 14:26 +0100, Alan Brown wrote: Is there any way of enforcing a Maildir per-folder message limit in Dovecot? No. Would you consider it as a feature request? We're finding major performance hits once a threshold of files/directory

Re: [Dovecot] dovecot Digest, Vol 89, Issue 25

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 17:00 +0100, Alan Brown wrote: Timo Sirainen t...@iki.fi Wrote: On Mon, 2010-09-06 at 14:26 +0100, Alan Brown wrote: Is there any way of enforcing a Maildir per-folder message limit in Dovecot? No. Would you consider it as a feature request? What if you

Re: [Dovecot] LAYOUT=maildir++ under mbox?

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 16:57 +0100, William Blunn wrote: I think what confused me I think you're still confused :) Under LAYOUT=fs perhaps the default_separator ought to be '.', and under LAYOUT=maildir++ perhaps the default_separator ought to be '/', regardless of the mailbox format :-)

[Dovecot] Converting layouts, was Re: LAYOUT=maildir++ under mbox?

2010-09-06 Thread Dave McGuire
On 9/6/10 12:30 PM, Timo Sirainen wrote: Under LAYOUT=fs perhaps the default_separator ought to be '.', and under LAYOUT=maildir++ perhaps the default_separator ought to be '/', regardless of the mailbox format :-) It works like that, except the opposite way. With LAYOUT=fs the default

[Dovecot] extended search

2010-09-06 Thread Daniel-Constantin Mierla
Hello, is it safe to use arg_new_human_date() from src/lib-storage/mail-search-register-human.c instead of arg_new_date() inside src/lib-storage/mail-search-register-imap.c? The benefit is ability to use interval based search rules, e.g., SINCE 2days. I run it for couple of days and looks

Re: [Dovecot] dovecot Digest, Vol 89, Issue 27

2010-09-06 Thread Alan Brown
Timo Sirainen t...@iki.fi Wrote: On Mon, 2010-09-06 at 14:26 +0100, Alan Brown wrote: Is there any way of enforcing a Maildir per-folder message limit in Dovecot? No. Would you consider it as a feature request? What if you just create a script that automatically

Re: [Dovecot] extended search

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 18:42 +0200, Daniel-Constantin Mierla wrote: is it safe to use arg_new_human_date() from src/lib-storage/mail-search-register-human.c instead of arg_new_date() inside src/lib-storage/mail-search-register-imap.c? I guess. The benefit is ability to use interval based

Re: [Dovecot] Converting layouts, was Re: LAYOUT=maildir++ under mbox?

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 12:37 -0400, Dave McGuire wrote: This is only tangentially related, please forgive me for that, but is there any automated way to convert an existing hierarchy of '.'-separated folders to a LAYOUT=fs configuration? dsync can do it, although not very optimally

Re: [Dovecot] Problems with zlib

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 11:56 +0200, Andre wrote: 20100906 11:34:32 imap(usern...@domain.com): Panic: file istream-zlib.c: line 173 (i_stream_zlib_read): assertion failed: (zstream-high_pos == 0) Hmm. See if they go away with http://hg.dovecot.org/dovecot-2.0/rev/0d5f21aeda68

Re: [Dovecot] extended search

2010-09-06 Thread Timo Sirainen
On Mon, 2010-09-06 at 19:13 +0200, Daniel-Constantin Mierla wrote: is it safe to use arg_new_human_date() from src/lib-storage/mail-search-register-human.c instead of arg_new_date() inside src/lib-storage/mail-search-register-imap.c? I guess. The benefit is ability to use interval

Re: [Dovecot] Problems setting up dovecot 2.0.1 with kerberos auth

2010-09-06 Thread Dirk Heinrichs
Am 06.09.2010 08:53, schrieb Andre: Il giorno 05/set/2010, alle ore 19.02, Dirk Heinrichs ha scritto: I've added created host/ smtp/ and imap/ service principals with random key for the test machine and added them to its keytab. As I see below the principals are for oldbox.altum.de (is

Re: [Dovecot] extended search

2010-09-06 Thread Daniel-Constantin Mierla
On 9/6/10 7:22 PM, Timo Sirainen wrote: On Mon, 2010-09-06 at 19:13 +0200, Daniel-Constantin Mierla wrote: is it safe to use arg_new_human_date() from src/lib-storage/mail-search-register-human.c instead of arg_new_date() inside src/lib-storage/mail-search-register-imap.c? I guess. The

Re: [Dovecot] LAYOUT=maildir++ under mbox?

2010-09-06 Thread William Blunn
On 06/09/2010 17:30, Timo Sirainen wrote: On Mon, 2010-09-06 at 16:57 +0100, William Blunn wrote: I think what confused me I think you're still confused :) I think you're right. Under LAYOUT=fs perhaps the default_separator ought to be '.', and under LAYOUT=maildir++ perhaps

Re: [Dovecot] Problems setting up dovecot 2.0.1 with kerberos auth

2010-09-06 Thread Dirk Heinrichs
Am 06.09.2010 20:09, schrieb Dirk Heinrichs: Looks like $ALL was the way to go, since at least I get the imap/ ticket now. However, login still fails: I also get the tickets with auth_gssapi_hostname = oldbox.altum.de, but doesn't make a difference. Bye... Dirk signature.asc

Re: [Dovecot] Problems setting up dovecot 2.0.1 with kerberos auth

2010-09-06 Thread Dirk Heinrichs
Am 06.09.2010 21:30, schrieb Dirk Heinrichs: Am 06.09.2010 20:09, schrieb Dirk Heinrichs: Looks like $ALL was the way to go, since at least I get the imap/ ticket now. However, login still fails: I also get the tickets with auth_gssapi_hostname = oldbox.altum.de, but doesn't make a

Re: [Dovecot] Dovecot upgrades break Blackberry instant email (BIS)

2010-09-06 Thread Daryl Richards
On 2010-09-06, at 11:49 AM, Timo Sirainen wrote: On Fri, 2010-09-03 at 17:50 -0400, Daryl Richards wrote: Just for reference; I have quite a few people with Blackberrys connecting to my server too. And, many do not do idle. I can't tell why some do and some don't. I've tried adding IDLE as

[Dovecot] Sub-Sub-Subfolders not shown after converting from maildir to mdbox

2010-09-06 Thread Patrick Westenberg
Hi again, I just recognized a problem concerning subfolders after converting from maildir to mdbox. Thunderbird and SeaMonkey don´t show folders that are subfolders of subfolders. Have a look at the filesystem: discovery:/var/mail/domain.tld/patrick/mdbox/mailboxes/Folder1/Folder2# ls -l

Re: [Dovecot] Plugin execution order and Sieve

2010-09-06 Thread Charly
Thank you Timo, it works if I rename my plugin lib91. My plugin is called first and I call next_deliver_plugin at the end of my plugin execution. Charly. Le 06/09/2010 16:32, Timo Sirainen a écrit : On Mon, 2010-09-06 at 16:10 +0200, Charly wrote: