Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Thomas Zajic
* Eric Toczek, 2008-08-05 15:30 Do you have the plugin loaded in the imap protocol section? protocol imap { ... mail_plugins = fts fts_squat quota imap_quota expire ... } If you do then the table should get updated when you move a message into the trash folder. If you've got the plugin set

Re: [Dovecot] how to store flags \Seen into read-only mailbox?

2008-08-05 Thread seriv
Thank you, Timo, running dovecot with this changeset, \Seen stored perfectly. Only problems I saw were like: --- deliver(listuser): Aug 04 16:06:38 Error: Corrupted transaction log file /home/vmail/listuser/Maildir/index/.INBOX/dovecot.index.log: hdr.size too large (75497472) ... dovecot: Aug 04

Re: [Dovecot] 1.1.1 (maildir_uidlist_sync_update): assertion failed: (uidlist->initial_hdr_read)

2008-08-05 Thread Adam McDougall
Timo Sirainen wrote: On Wed, 2008-07-16 at 16:43 -0400, Adam McDougall wrote: Jun 26 17:23:26 hill dovecot: Panic: IMAP(userA): file maildir-uidlist.c: line 1207 (maildir_uidlist_sync_update): assertion failed: (uidlist->initial_hdr_read) Perhaps this fixes it? http://hg.dovecot.org/d

Re: [Dovecot] 1.0(.14) vs 1.1.2 performance

2008-08-05 Thread Timo Sirainen
On Aug 5, 2008, at 9:43 AM, Thomas Hummel wrote: I just switched from dovecot-1.0.14 to dovecot-1.1.2 and noticed a significant drop in the server load average (which has become lower and above all doesn't seem to have unexplained peaks). Indexes are still locally stored and nfs attribute

[Dovecot] Vacation reply with Procmail and dovecot deliver

2008-08-05 Thread CJ Keist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giving up on the sieve plugin and switching to procmail. I found the following link: http://wiki.dovecot.org/procmail This site doesn't saying anything about needing to modify the procmail source code like here: http://dovecot.org/pipermail/dovecot

Re: [Dovecot] Dovecot sieve plugin reject not working

2008-08-05 Thread Andrew Schulman
> When I send message from yahoo.com to my [EMAIL PROTECTED] > account on this server no rejection notice is being sent back. It looks > like at the end of the log file section below that it is sending > something back, but nothing shows up. Also see how the "From" is empty? > I don't think this i

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Timo Sirainen
On Aug 5, 2008, at 1:05 PM, Eric Toczek wrote: Dino Ming wrote: Dear Eric, I've enabled the mysql query log, and there does not have any query when I deleting or moving message. So, I'm wondering is it have some compile time flag to enable this perhaps ? Hmm.. shouldn't be any flags needed b

Re: [Dovecot] Corrupted transaction logs

2008-08-05 Thread Timo Sirainen
On Aug 5, 2008, at 11:50 AM, Guy wrote: I'm running two mail servers with two NFS servers for the mail stores. Both mail servers have access to both mail stores and I'm assuming that that is what's causing the problem. Yes, most likely. I'm running dovecot 1.0.10 (Ubuntu - so I'm using only

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Eric Toczek
Dino Ming wrote: > Dear Eric, > > It's worked after I append the INBOX. in front of Trash > The record entered into the table with path and timestamp, but missing > value for the username. Is this make sense ? > Yup this is as expected. From Timo when I asked him about it: "The expire data is "sha

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Eric Toczek
Dino Ming wrote: > Dear Eric, > > I've enabled the mysql query log, and there does not have any query > when I deleting or moving message. > So, I'm wondering is it have some compile time flag to enable this > perhaps ? Hmm.. shouldn't be any flags needed besides --with-mysql and --with-sql. I wo

[Dovecot] Dovecot LDA with sieve plugin and MySQL

2008-08-05 Thread Thiago Esteves
Hi list, Is there any way to use some information stored in mysql when executing a sieve script in dovecot lda sieve-plugin. thanks.

[Dovecot] Corrupted transaction logs

2008-08-05 Thread Guy
Hi, I'm getting a lot of the following messages in my mail.err log. Jul 12 11:25:51 mink dovecot: IMAP([EMAIL PROTECTED]): Corrupted transaction log file /virtual/store1/mail/u/user1_domain1.net/Maildir/.Sent/dovecot.index.log: Append with UID 925, but next_uid = 926 Jul 12 12:44:56 mink dovecot:

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-05 Thread Dean Brooks
On Mon, Aug 04, 2008 at 04:24:09PM -0400, Timo Sirainen wrote: > On Aug 4, 2008, at 2:38 PM, Dean Brooks wrote: > > >Does dovecot require a shared version of the libbz2 library to compile > >correctly? Is there no way to statically link this? > > You could link the libbz2.a into the imap binary

Re: [Dovecot] dovecot 1.1.2 assertion

2008-08-05 Thread Timo Sirainen
On Aug 5, 2008, at 3:48 AM, Nuno Lopes wrote: Do you still have the files? You forgot to send the dovecot.index.log file. Also perhaps dovecot.index.cache could help when figuring this out (but it contains message headers so you may not want to send it to this mailing list at least).

[Dovecot] Dovecot sieve plugin reject not working

2008-08-05 Thread CJ Keist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm at a loss here. Details of my setup: OS: Solaris 10 gcc version: 3.4.3 postfix version 2.5.2 dovecot version 1.1.2 dovecot sieve version 1.1.5 How I installed: Postfix: make makefiles CCARGS='-DUSE_SASL_AUTH \-DDEF_SERVER_SASL_TYPE=\"dovecot\"

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Dino Ming
Dear Jens, Mind didn't worked ever. Below is my dovecot config. Could you give me a hint on it.? Dovecot didn't update the dict_expire table whenever I remove a message or move a message into the Trash folder. Is there any different on the dovecot.conf between u and me ? # dovecot-dict-expir

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Jens Meyer
Hello Eric, thank you for your further help. Now I understand the concept of this plugin - great! The record was created: usernamepathtimestamp [EMAIL PROTECTED]/Trash 1218029872 AFAIK I have to add "Trash" instead of "INBOX.Trash" when seeing this record,

[Dovecot] 1.0(.14) vs 1.1.2 performance

2008-08-05 Thread Thomas Hummel
Hello Timo, I just switched from dovecot-1.0.14 to dovecot-1.1.2 and noticed a significant drop in the server load average (which has become lower and above all doesn't seem to have unexplained peaks). Indexes are still locally stored and nfs attribute caching is still off). I searched the list a

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Eric Toczek
Jens Meyer wrote: > Hello Eric, > > thank you very much for your prompt and helpful reply! > > The connect seem to work fine now. > > Please allow me two additional questions: > Is it correct that this database-table is only a "caching-table" which > is empty at first and will be filled later? It i

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Jens Meyer
Hello Eric, thank you very much for your prompt and helpful reply! The connect seem to work fine now. Please allow me two additional questions: Is it correct that this database-table is only a "caching-table" which is empty at first and will be filled later? It is not necessary to adapt the S

Re: [Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Eric Toczek
Jens Meyer wrote: > > Unfortunately I have problems with the dictionary: > --> > dovecot: Aug 05 13:30:25 Error: dict: Unknown dict module: db > dovecot: Aug 05 13:30:25 Error: dict: Failed to initialize dictionary > 'expire' > Looking at the rpm it doesn't look like it has bdb support built in. Bu

[Dovecot] expire-plugin: configuration dict-server

2008-08-05 Thread Jens Meyer
Hello all! I tried to add the expire-plugin to my dovecot-installation (CentOS-RPM: dovecot-1.1.1-2_76.el5) and followed the plugin-page from the WIKI (http://wiki.dovecot.org/Plugins/Expire). Unfortunately I have problems with the dictionary: --> dovecot: Aug 05 13:30:25 Error: dict: Unknown

Re: [Dovecot] Expire plugin with Mysql

2008-08-05 Thread Eric Toczek
Dino Ming wrote: > Here is my dict.conf file > > connect = host=sql dbname=vmail user=xx password=xx > table = dict_expire > select_field = timestamp > where_field = path > username_field = username > That looks good > How can I debug the imap and check why the table didn't got update