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

2008-08-06 Thread Thomas Zajic
* Eric Toczek, 2008-08-06 11:39 Thomas Zajic wrote: Hi, Same problem here - dovecot never adds any records to the expire table, although the database connection is fine. All it ever does is query for existing records when a message gets moved to Trash or Junk, so at least that part is working.

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

2008-08-06 Thread Dino Ming
Hi Jens, Ive got the same problem with you. The expire plugin not work. Nothing happened even I delete email from a mail client. And the expire table on mysql never updated. Thanks, Dino Jens Meyer wrote: Hello Eric, thank you very much for your prompt and helpful reply! The connect seem

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

2008-08-06 Thread Eric Toczek
Thomas Zajic wrote: > Hi, > Same problem here - dovecot never adds any records to the expire > table, although the database connection is fine. All it ever does > is query for existing records when a message gets moved to Trash > or Junk, so at least that part is working. Do you use namespaces? Si

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

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,

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