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 updated when

[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: 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. But it

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

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 is not

[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

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,

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] 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] 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] 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] 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.

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 wonder

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 shared so

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] 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 is

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

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?

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