Re: [Dovecot] Problem in deliver (Panic: file index-mail-headers.c ...)

2009-05-17 Thread Stefan Roese
On Monday 18 May 2009 00:58:40 Timo Sirainen wrote: > On Wed, 2009-05-06 at 13:16 +0200, Stefan Roese wrote: > > I'm experiencing a problem with some mails in deliver. Here the logged > > error message: > > > > deliver(ste...@roese.nl): 2009-05-06 11:57:36 Panic: file > > index-mail-headers.c: line

[Dovecot] procmail & formail

2009-05-17 Thread Mohsen Pahlevanzadeh
Dear all, i have a mail server & vpopmail. Now, i want to copy from each message to a directory.i find a way to do it. i put following line in .qmail-default : |formail -X "" > ~/text.txt Of course above line is test.Given line doesn't retrieves Return* header field. My question: How i retrieve en

Re: [Dovecot] Quota over NFS

2009-05-17 Thread Timo Sirainen
I don't want to add it before I know that it really is a good idea to change it. So far I've only heard it to be broken in your system. If I change it I might just break others' systems. On May 17, 2009, at 11:41 PM, Flavio Costa wrote: Apparently this fix was not included in 1.1.15, too ba

[Dovecot] v1.1.15 released

2009-05-17 Thread Timo Sirainen
http://dovecot.org/releases/1.1/dovecot-1.1.15.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.15.tar.gz.sig The command pipelining fix is pretty interesting. Wonder how much it improves performance, especially when deleting lots of messages from a large mailbox. v1.1.15 2009-05-17 Timo Sirai

Re: [Dovecot] Quota over NFS

2009-05-17 Thread Flavio Costa
Apparently this fix was not included in 1.1.15, too bad. On Mon, May 11, 2009 at 6:08 PM, Flavio Costa wrote: > Hopefully this fix will be included =) > Glad you helped me with this issue, this was really a show stopper for me > to implement the quotas in my enviroment. > > I'm going to dig into

Re: [Dovecot] example sql acl_shared_dict wiki

2009-05-17 Thread Timo Sirainen
On Mon, 2009-05-18 at 01:40 +0200, Robert Schetterer wrote: > could you include an example for having > acl_shared_dict in sql ? See if you can get it working with these kind of settings: http://www.dovecot.org/list/dovecot/2009-April/038922.html signature.asc Description: This is a digitally s

[Dovecot] v1.2.rc4 released

2009-05-17 Thread Timo Sirainen
http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc4.tar.gz http://dovecot.org/releases/1.2/rc/dovecot-1.2.rc4.tar.gz.sig I'm pretty hopeful that virtual mailbox code is finally crash-free. If people don't find many problems from this release, I'm thinking that rc5 could come in a couple of weeks an

Re: [Dovecot] 1.2.beta1: expire-tool and 'mail_location' setting

2009-05-17 Thread Timo Sirainen
On Sun, 2009-02-22 at 12:49 +0100, e-frog wrote: > Trying 1.2.beta1 with expire plugin currently: > When I set mail_location = maildir:~/.maildir the expire plugin doesn't > delete messages. Should be fixed in hg now. > My guess is that mail_location is not respected by expire-tool for some > r

Re: [Dovecot] v 1.1.15 imminent?

2009-05-17 Thread Bruce Bodger
On May 17, 2009, at 7:31 PM, Brad wrote: On Sunday 17 May 2009 20:27:20 Bruce Bodger wrote: Timo, I sense a v 1.1.15 is getting ready to hatch? True story? :-) B. Bodger Someone needs to learn how to count. :P Don't know what you mean?:-) B. Bodger

Re: [Dovecot] expire plugin error

2009-05-17 Thread Timo Sirainen
On Mon, 2009-01-26 at 19:46 +0100, Michael Lechtermann wrote: > >> - Berkeley DB memory/resource leak fixes. > >> ... > > > > Thanks for the info. Looks like that fixed it... if I get the old or > > another error related to BDB again I will raise my hand. ;-) > > *raises hand* > > Getting th

Re: [Dovecot] v 1.1.16 imminent?

2009-05-17 Thread Brad
On Sunday 17 May 2009 20:27:20 Bruce Bodger wrote: > Timo, > > I sense a v 1.1.16 is getting ready to hatch? True story? :-) > > B. Bodger Someone needs to learn how to count. :P -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

[Dovecot] v 1.1.16 imminent?

2009-05-17 Thread Bruce Bodger
Timo, I sense a v 1.1.16 is getting ready to hatch? True story? :-) B. Bodger

Re: [Dovecot] pine vs dovecot-zlib (mbox.gz)

2009-05-17 Thread Timo Sirainen
On Mon, 2009-02-23 at 07:59 +0100, Darabos Edvárd Konrád wrote: > /usr/local/bin/imapd.sh (just tried to redirect server stderr, did not > helped): > #!/bin/bash > > /usr/lib/dovecot/imap 2> /dev/null This doesn't load zlib plugin (or any Dovecot settings), so it breaks. Use rather: dovecot --e

Re: [Dovecot] 1.1.13 squat core dump

2009-05-17 Thread Timo Sirainen
On Thu, 2009-04-23 at 11:51 -0400, David Halik wrote: > I did some more digging and here's the actual error that it fails with: > > Apr 23 09:28:21 batman.rutgers.edu IMAP(kmech): : [ID 107833 mail.crit] > Panic: file squat-trie.c: line 441: assertion failed: > (!node->have_sequential) Are you

Re: [Dovecot] expire tool - individual user/folder?

2009-05-17 Thread Timo Sirainen
On Thu, 2009-04-23 at 08:52 +0200, Andre Hübner wrote: > is the expire plugin usable to delete mails with different settings for each > individual user? > If i view sample config at http://wiki.dovecot.org/Plugins/Expire it looks > like expire-data are related to foldernames. > Is it possible to

Re: [Dovecot] expire plugin + dovecot 1.1.7

2009-05-17 Thread Timo Sirainen
On Wed, 2009-05-06 at 12:57 +0200, Georg Käfer wrote: > Hi, > > testing expire plugin I get an error message "User lookup failed": > /usr/sbin/dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool -test > > Error: userdb(lu...@manual.at) didn't return uid This patch should fix it: http://hg

[Dovecot] example sql acl_shared_dict wiki

2009-05-17 Thread Robert Schetterer
Hi Timo, wiki says - Shared mailbox listing . You could use any dictionary backend, such as SQL or Berkeley DB, but a simple flat file should work pretty well too: plugin { acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes.db } could you include an example fo

Re: [Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird / seems solved

2009-05-17 Thread Robert Schetterer
Hi Timo , Timo Sirainen schrieb: > On Wed, 2009-05-13 at 10:00 +0200, Robert Schetterer wrote: >>> Hi Timo, >>> disabling virtual plugin settings makes >>> dovecot 1.2 work as expected again, subfolders of inbox are shown again >>> as well as shared mailbox namespaces >>> virtual plugin seems to m

Re: [Dovecot] latest update dovecot 1.2 breaks Error: imap dump-capability

2009-05-17 Thread Timo Sirainen
On Mon, 2009-05-18 at 01:24 +0200, Robert Schetterer wrote: > ok for me, but one problem stays, rawlog behavior changed in 1.2 during > updates > it should prefer home setting in plugin section ( as before ) > and dont use home info from i.e sql, but that maybe related to > namespace_1 settings in

Re: [Dovecot] latest update dovecot 1.2 breaks Error: imap dump-capability

2009-05-17 Thread Robert Schetterer
Timo Sirainen schrieb: > On Tue, 2009-05-05 at 22:23 +0200, Robert Schetterer wrote: >> Robert Schetterer schrieb: >>> Hi Timo, >>> lates update 1.2 seems to break something >>> it gives me >>> >>> Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permitted >>> >>> Error: imap dump-capability: Co

Re: [Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird / seems solved

2009-05-17 Thread Timo Sirainen
On Wed, 2009-05-13 at 10:00 +0200, Robert Schetterer wrote: > > Hi Timo, > > disabling virtual plugin settings makes > > dovecot 1.2 work as expected again, subfolders of inbox are shown again > > as well as shared mailbox namespaces > > virtual plugin seems to me broken in some way What do you he

Re: [Dovecot] migration and conversion from courier

2009-05-17 Thread Timo Sirainen
On Mon, 2009-05-18 at 00:57 +0200, Giuliano Gavazzi wrote: > There's only one point that escapes me, why perform the conversion > when migrating (using the --convert option) given that on the system > where I did not perform it the flags have been preserved (the files > got their name change

Re: [Dovecot] Problem in deliver (Panic: file index-mail-headers.c ...)

2009-05-17 Thread Timo Sirainen
On Wed, 2009-05-06 at 13:16 +0200, Stefan Roese wrote: > I'm experiencing a problem with some mails in deliver. Here the logged error > message: > > deliver(ste...@roese.nl): 2009-05-06 11:57:36 Panic: file > index-mail-headers.c: line 141 > (index_mail_parse_header_finish): assertion failed: (

Re: [Dovecot] migration and conversion from courier

2009-05-17 Thread Giuliano Gavazzi
On S 17 May, 2009, at 20:45 , Timo Sirainen wrote: On Fri, 2009-05-15 at 10:55 +0200, Giuliano Gavazzi wrote: Perhaps the only solution is to have a new script that deletes the garbage lines and renumbers the following ones, so that the above example would become: 0 JunkRecorded 1 $NotJunk 2

Re: [Dovecot] latest update dovecot 1.2 breaks Error: imap dump-capability

2009-05-17 Thread Timo Sirainen
On Tue, 2009-05-05 at 22:23 +0200, Robert Schetterer wrote: > Robert Schetterer schrieb: > > Hi Timo, > > lates update 1.2 seems to break something > > it gives me > > > > Fio_loop_handle_add: epoll_ctl(1, 0): Operation not permitted > > > > Error: imap dump-capability: Couldn't read capability (

Re: [Dovecot] "Broken mailbox list" with virtual plugin

2009-05-17 Thread Timo Sirainen
On Wed, 2009-05-06 at 11:06 +0200, Matthijs Kooijman wrote: > virtual /home/matthijs/Mail/virtual/INBOX: Broken mailbox list .. > I've just tried removing the index files, which seems to fix the error > message. The index file gets recreated and my debug statements show proper > output. Another sol

Re: [Dovecot] Segfault in deliver server

2009-05-17 Thread Timo Sirainen
On Tue, 2009-02-03 at 12:04 +0100, Sascha Wilde wrote: > #0 array_idx_modifiable_i (array=0x38, idx=0) at array.c:10 > #1 0x0805e9a2 in sql_pool_unlink (ctx=0x80fb670) at sql-pool.c:64 Sorry, took a while to get around to looking at this. I think this should fix it: http://hg.dovecot.org/dovecot

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-17 Thread Timo Sirainen
On Sun, 2009-05-17 at 15:28 -0400, Lou Duchez wrote: > > Yeah. I don't know what I was thinking when I made it work like that. > > > I know what you were thinking: if dovecot is writing to a log such as > "mylogfile.log", and other utilities are also writing to > "mylogfile.log", it's good to

Re: [Dovecot] Virtual mailbox plugin, crashing?

2009-05-17 Thread Timo Sirainen
On Sun, 2009-05-10 at 10:13 -0700, Brandon Lamb wrote: > dovecot: 2009-05-10 10:08:05 Panic: imap : file > virtual-sync.c: line 575 (virtual_sync_mailbox_box_add): assertion > failed: (src < rec_count) Fixed this and many other bugs in hg. signature.asc Description: This is a digitally signed m

Re: [Dovecot] Backtrace error

2009-05-17 Thread Timo Sirainen
On Tue, 2009-05-05 at 14:09 -0700, Brandon Lamb wrote: > dovecot: 2009-05-05 14:06:38 Panic: imap : file > mail-search.c: line 712 (mail_search_args_equal): assertion failed: > (args1->simplified == args2->simplified) Fixed: http://hg.dovecot.org/dovecot-1.2/rev/e3ee0a4c0b58 signature.asc Desc

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-17 Thread Bill Landry
Timo Sirainen wrote: > On Mon, 2009-05-11 at 14:48 -0700, Bill Landry wrote: >>> If you log via syslog, the timestamp will be at the beginning of line. >> >> Well, then that would explain it. Maybe it would be a good idea then to >> remove the "dovecot: " from the beginning of each log line when n

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-17 Thread Lou Duchez
Yeah. I don't know what I was thinking when I made it work like that. I know what you were thinking: if dovecot is writing to a log such as "mylogfile.log", and other utilities are also writing to "mylogfile.log", it's good to know which lines are dovecot. But I am satisfied with using sy

Re: [Dovecot] Authentication cache, failure to login after changed password

2009-05-17 Thread Timo Sirainen
On Sun, 2009-05-17 at 21:09 +0200, Tom Sommer wrote: > Timo Sirainen wrote: > >> The cache seems to be faulty somehow, I wish there was a way to dump the > >> contents of the cache to debug this, because somehow I cannot forcefully > >> reproduce it. > >> > > > > Here's a way: > > > > 1. Try t

Re: [Dovecot] Authentication cache, failure to login after changed password

2009-05-17 Thread Tom Sommer
Timo Sirainen wrote: The cache seems to be faulty somehow, I wish there was a way to dump the contents of the cache to debug this, because somehow I cannot forcefully reproduce it. Here's a way: 1. Try to log in unsuccessfully. 2. Change the password. 3. Try to log in with the changed pas

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-17 Thread Timo Sirainen
On Mon, 2009-05-11 at 14:48 -0700, Bill Landry wrote: > > If you log via syslog, the timestamp will be at the beginning of line. > > Well, then that would explain it. Maybe it would be a good idea then to > remove the "dovecot: " from the beginning of each log line when not > using syslog for log

Re: [Dovecot] Deliver hangs after reloading the Dovecot configuration

2009-05-17 Thread Timo Sirainen
On Tue, 2009-05-12 at 22:23 +0200, Pascal Volk wrote: > deliver hangs after reloading the Dovecot configuration. Fixed: http://hg.dovecot.org/dovecot-1.2/rev/125862a5b52f signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Authentication cache, failure to login after changed password

2009-05-17 Thread Timo Sirainen
On Fri, 2009-05-15 at 09:29 +0200, Tom Sommer wrote: > I'm sorry, but I still have problems with this. I got cache_size 1024, > cache_ttl 3600, cache_negative_ttl 0, but if a user changes password in > my SQL, sometimes it requires a restart of dovecot for him to be able to > log in. You can alwa

Re: [Dovecot] migration and conversion from courier

2009-05-17 Thread Timo Sirainen
On Fri, 2009-05-15 at 10:55 +0200, Giuliano Gavazzi wrote: > I doubt though that the script will cope with flags correctly, as in > principle will get the flags from an out of date courierimapkeywords, > thus missing any new ones. Right. > Perhaps the only solution is to have a new script tha

Re: [Dovecot] Problem with domain part in user_query in dovecot 1.1.14

2009-05-17 Thread Konstantin
On Sun, 17 May 2009 14:09:30 -0400 Timo Sirainen wrote: > On Sun, 2009-05-17 at 14:48 +, Konstantin wrote: > > password_query = SELECT NULL AS password, 'Y' as nopassword, userid AS user > > FROM > > main.mail_base WHERE userid = '%n' AND password = '%w' and domain='%d' > > "userid AS user

Re: [Dovecot] dovecot 2.0 (revision 9271:d467712aee77) compile problems on AIX 5.3

2009-05-17 Thread Timo Sirainen
On Wed, 2009-05-13 at 15:04 -0400, Jonathan Siegle wrote: > Having some problems compiling on AIX 5.3 with IBM vac version 8. > > Programs that I had problems building: > test-mail > test-imap > test-index Should be fixed in hg now? signature.asc Description: This is a digitally signed message

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

2009-05-17 Thread Timo Sirainen
On Thu, 2009-05-14 at 18:53 +0400, Max Ivanov wrote: > 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 anyone full > rights dovecot-acl-list doesn

Re: [Dovecot] Unable to delete folder in public namespace

2009-05-17 Thread Timo Sirainen
On Fri, 2009-05-15 at 17:28 +0400, Max Ivanov wrote: > 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

Re: [Dovecot] namespace list not working in dovecot 1.2 revision 9027:421393827a81

2009-05-17 Thread Timo Sirainen
On Fri, 2009-05-15 at 12:00 -0400, Jonathan Siegle wrote: > In my config that has worked for some time I have: > > namespace private { >separator = / >prefix = ~/ >hidden = yes >list = no # for v1.1+ > } > > 1 list "~/" * > 1 OK List completed. Thanks, fixed: http://hg.dovecot.

Re: [Dovecot] Question about IMAP

2009-05-17 Thread Charles Marcus
On 5/17/2009, Timo Sirainen (t...@iki.fi) wrote: >> 4. Display for the user the email/email headers and text/html body parts, > I'm not sure what you mean by this. I use the 'Preview Pane' in Thunderbird... all I meant was, when I click/select a message in the message list, I'd like TBird to not

Re: [Dovecot] Problem with domain part in user_query in dovecot 1.1.14

2009-05-17 Thread Timo Sirainen
On Sun, 2009-05-17 at 14:48 +, Konstantin wrote: > password_query = SELECT NULL AS password, 'Y' as nopassword, userid AS user > FROM > main.mail_base WHERE userid = '%n' AND password = '%w' and domain='%d' "userid AS user" drops the domain. Use rather: select .., userid AS username, domain

Re: [Dovecot] Question about IMAP

2009-05-17 Thread Charles Marcus
On 5/17/2009, Timo Sirainen (t...@iki.fi) wrote: >>> Pointers to appropriate IMAP protocol docs would be happily passed on to >>> them the Mozilla dev guys. >> It's all in RFC 3501 in FETCH command docs. > Also I once wrote something to > http://imapwiki.org/ClientImplementation/OpenMessage Th

Re: [Dovecot] Question about IMAP

2009-05-17 Thread Timo Sirainen
On May 17, 2009, at 12:26 PM, Timo Sirainen wrote: Pointers to appropriate IMAP protocol docs would be happily passed on to them the Mozilla dev guys. It's all in RFC 3501 in FETCH command docs. Also I once wrote something to http://imapwiki.org/ClientImplementation/OpenMessage

Re: [Dovecot] Question about IMAP

2009-05-17 Thread Charles Marcus
On 5/17/2009, Timo Sirainen (t...@iki.fi) wrote: > It's all in RFC 3501 in FETCH command docs. > > BTW. There are many clients that do this on-demand downloading. I use > Apple Mail and Evolution and they both do it. As usual, Timo, you are the man! Now all I just hope that the Mozilla devs w

Re: [Dovecot] Question about IMAP

2009-05-17 Thread Timo Sirainen
On May 17, 2009, at 11:18 AM, Charles Marcus wrote: My question is: Using the IMAP protocol, is there a way, *without* downloading the entire message (specifically, binary attachments), that an IMAP client can do the following: Yes. There are even several different ways to do it. Everything s

[Dovecot] Question about IMAP

2009-05-17 Thread Charles Marcus
Hi Timo, I have a question that you can maybe answer off the top of your head, considering your vast knowledge of the IMAP protocol... There is a Thunderbird bug that is near and dear to my heart, that is trying to address how Thunderbird deals with large messages (ie, messages with large attachm

[Dovecot] Problem with domain part in user_query in dovecot 1.1.14

2009-05-17 Thread Konstantin
Hi. I'm using dovecot 1.1.14 with pgsql. I tried to configure dovecot to get the domain part in user_query by specifying different variants of auth_username_format variable such as %Lu, %...@%ld, %Lu-at-%Ld and so on... So dovecot gets domain part in password_query, but not in user_query. I noti