Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-08-02 Thread Timo Sirainen
On Fri, 2009-07-31 at 17:21 +0200, Robert Schetterer wrote: Hi Timo, so now its clear, the mail did not got deleted if i now do Info: rob...@schetterer.com/Trash: no messages left So, it worked? no messages left means if you didn't give --test it would have deleted all messages from the

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-07-30 Thread Robert Schetterer
Robert Schetterer schrieb: Timo Sirainen schrieb: On Thu, 2009-07-23 at 23:42 +0200, Robert Schetterer wrote: Hi Timo, all of my tests fail with expire plugin, mail simply not get deleted i cant find any stuff in the logs why it does not or should not work. Try with 1.2.2 and check the

Re: [Dovecot] expire plugin no delete 1.2.1

2009-07-28 Thread Robert Schetterer
Timo Sirainen schrieb: On Thu, 2009-07-23 at 23:42 +0200, Robert Schetterer wrote: Hi Timo, all of my tests fail with expire plugin, mail simply not get deleted i cant find any stuff in the logs why it does not or should not work. Try with 1.2.2 and check the mails' save dates now that

Re: [Dovecot] expire plugin no delete 1.2.1

2009-07-27 Thread Timo Sirainen
On Thu, 2009-07-23 at 23:42 +0200, Robert Schetterer wrote: Hi Timo, all of my tests fail with expire plugin, mail simply not get deleted i cant find any stuff in the logs why it does not or should not work. Try with 1.2.2 and check the mails' save dates now that you have the FETCH

[Dovecot] Expire plugin - where to start?

2009-07-15 Thread Frank Leonhardt
I'm running Dovecot 1.1.3 on FreeBSD 7.0 with procmail 3.22 sorting the output of Spamassassin. Just for me and a few friends. I didn't like the ageing 'standard' IMAP implementation so I thought I'd give Dovecot a try and it's really impressive. However, I'm a complete newbie to its inner

Re: [Dovecot] Expire plugin - where to start?

2009-07-15 Thread Timo Sirainen
On Wed, 2009-07-15 at 21:35 +0100, Frank Leonhardt wrote: I'm running Dovecot 1.1.3 I'm pretty sure expire plugin is broken with this version. v1.1.17 had the last fixes to it. http://wiki.dovecot.org/Plugins/Expire Leaves me to scared to try anything. It's all working and I don't want to

Re: [Dovecot] Expire plugin - where to start?

2009-07-15 Thread Frank Leonhardt
Timo Sirainen Wrote On Wed, 2009-07-15 at 21:35 +0100, Frank Leonhardt wrote: I'm running Dovecot 1.1.3 I'm pretty sure expire plugin is broken with this version. v1.1.17 had the last fixes to it. http://wiki.dovecot.org/Plugins/Expire Leaves me to scared to try anything. It's all working

Re: [Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string / ignoring virtual namespace ?

2009-07-10 Thread Robert Schetterer
Robert Schetterer schrieb: dovecot@dovecot.org schrieb: Hi, this looks like one of my queued problems: On AIX I get a message that indicates missing global symbols. For example client_read_args. It is defined in src/imap/client.c but just linked at build time to the imap executable, while

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-10 Thread Ralph Seichter
Timo Sirainen wrote: What does your namespace configuration look like? Does Dovecot log anything related to expire plugin? I have switched to Dovecot 1.2.1 today: # 1.2.1: /usr/local/dovecot-1.2/etc/dovecot.conf # OS: Linux 2.6.30-gentoo-r2 i686 Gentoo Base System release 2.0.1

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-10 Thread Timo Sirainen
On Fri, 2009-07-10 at 19:27 +0200, Ralph Seichter wrote: mail_location: maildir:~/.maildir You have no namespaces configured and you're using maildir.. expire: Trash 1 Trash/* 1 Admin/Foo 3 */Admin/Foo 3 News/Bar 3 */News/Bar 3 */Foo 3 */Bar 3 .. The log still does not give me much of

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-10 Thread Ralph Seichter
Timo Sirainen wrote: I tried replacing '/' with '.', but it did me no good. What does it log then? No expiring in mailbox: Admin.Foo, just like before the modification. I don't understand this, because not using namespaces should mean literal string interpretation (or so I thought). -R

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-10 Thread Timo Sirainen
On Fri, 2009-07-10 at 19:40 +0200, Ralph Seichter wrote: Timo Sirainen wrote: I tried replacing '/' with '.', but it did me no good. What does it log then? No expiring in mailbox: Admin.Foo, just like before the modification. I don't understand this, because not using namespaces

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-10 Thread Ralph Seichter
Timo Sirainen wrote: No expiring in mailbox: Admin.Foo, just like before the modification. I don't understand this, because not using namespaces should mean literal string interpretation (or so I thought). Weird. Can you try what it logs with this patch?

[Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string

2009-07-08 Thread Robert Schetterer
Hi, sorry if this asked twice, i ve searched the list and found some equal posts, but couldnt get my problem fixed with it if running cronjob with expire ( using mysql ) i get dovecot -c /etc/dovecot/dovecot.conf --exec-mail ext /usr/lib/dovecot/expire-tool --test Info: Loading modules from

Re: [Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string

2009-07-08 Thread Robert Schetterer
dovecot@dovecot.org schrieb: Hi, this looks like one of my queued problems: On AIX I get a message that indicates missing global symbols. For example client_read_args. It is defined in src/imap/client.c but just linked at build time to the imap executable, while the expire-tool does

Re: [Dovecot] expire plugin with 1.2 cronjob undefined symbol: capability_string

2009-07-08 Thread Ralf Becker
Thanks, that's it! I've added it to the dovecot wiki: http://wiki.dovecot.org/Plugins/Expire By the way: You are using: #!/bin/bash MAIL_PLUGINS=${mail_plugins//imap_quota/} /usr/lib/dovecot/expire-tool $1 While mail_plugins in not defined and therefore empty it's the same like:

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-07 Thread Timo Sirainen
On Mon, 2009-06-22 at 14:48 +0200, Ralph Seichter wrote: expire = Trash 1 Trash/* 1 Admin/Foo 3 */Admin/Foo 3 News/Bar 3 */News/Bar 3 */Foo 3 */Bar 3 What does your namespace configuration look like? Does Dovecot log anything related to expire plugin? signature.asc Description: This is

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-07-07 Thread Timo Sirainen
On Tue, 2009-07-07 at 23:21 -0400, Timo Sirainen wrote: On Mon, 2009-06-22 at 14:48 +0200, Ralph Seichter wrote: expire = Trash 1 Trash/* 1 Admin/Foo 3 */Admin/Foo 3 News/Bar 3 */News/Bar 3 */Foo 3 */Bar 3 What does your namespace configuration look like? Does Dovecot log anything

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-06-22 Thread Ralph Seichter
Timo Sirainen wrote: The only thing it needs is a trigger similar to PostgreSQL has in http://wiki.dovecot.org/Plugins/Expire. Well, at least SQLite knows CREATE TRIGGER, which might be a good omen. ;-) Speaking of DB backends for the expire plugin, I experimented with MySQL in combination

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-06-21 Thread Timo Sirainen
On Tue, 2009-06-16 at 20:42 +0200, Ralph Seichter wrote: Timo Sirainen wrote: I'm beginning to think it was a mistake to ever put Berkeley DB code to Dovecot. SQLite would work just as well (and without problems), right? You're probably right. Want to bite the bullet? The only thing it

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-06-16 Thread reg9009
Timo Sirainen schrieb: On Thu, 2009-06-04 at 22:02 +0200, Ralph Seichter wrote: Sorry for replying so late, the server running Dovecot succumbed to a hardware problem. Now that the machine is online again, I applied your patch. Running the expire tool now causes the following log messages:

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-06-15 Thread Timo Sirainen
On Thu, 2009-06-04 at 22:02 +0200, Ralph Seichter wrote: Sorry for replying so late, the server running Dovecot succumbed to a hardware problem. Now that the machine is online again, I applied your patch. Running the expire tool now causes the following log messages: dict: db(secondary, ):

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-06-04 Thread Ralph Seichter
Timo Sirainen wrote: Does the attached patch help? If not, increase the 1024*1024 to a larger value. Sorry for replying so late, the server running Dovecot succumbed to a hardware problem. Now that the machine is online again, I applied your patch. Running the expire tool now causes the

Re: [Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-05-31 Thread Timo Sirainen
On Fri, 2009-05-29 at 17:26 +0200, Ralph Seichter wrote: Timo Sirainen wrote: Anyway it's not an error. It just means that all the rest of the mailboxes have future timestamps, and expire-tool has finished its work. I upgraded to Dovecot 1.1.15, but expire still gives me trouble. I keep

[Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with expire time in future errors?)

2009-05-29 Thread Ralph Seichter
Timo Sirainen wrote: Anyway it's not an error. It just means that all the rest of the mailboxes have future timestamps, and expire-tool has finished its work. I upgraded to Dovecot 1.1.15, but expire still gives me trouble. I keep seeing the following error repeatedly now: dict:

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:

[Dovecot] expire plugin + dovecot 1.1.7

2009-05-06 Thread Georg Käfer
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 Info: User lookup failed: lu...@manual.at Info: gkaef...@manual.at/INBOX.Sent: stop, expire time in

Re: [Dovecot] Expire plugin does not delete expired mail

2009-02-15 Thread Nicolas Letellier
On Wed, 11 Feb 2009 09:22:04 +0100 Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use expire plugin with dovecot 1.1.10. See my dovecot -n: # 1.1.10: /usr/local/etc/dovecot.conf # OS: FreeBSD 6.3-RELEASE-p9 i386 ufs syslog_facility: local6 protocols: imap imaps managesieve

Re: [Dovecot] Expire plugin does not delete expired mail

2009-02-15 Thread Charles Marcus
On 2/15/2009, Nicolas Letellier (nico...@nicoelro.net) wrote: I'm sorry but I need help for expire plugin. It does not delete 'expired' messages. Is anybody could help me for this problem? You are aware that the time you have set for expire is from the time the messages were moved into the

Re: [Dovecot] Expire plugin does not delete expired mail

2009-02-13 Thread Nicolas Letellier
On Wed, 11 Feb 2009 09:22:04 +0100 Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use expire plugin with dovecot 1.1.10. See my dovecot -n: # 1.1.10: /usr/local/etc/dovecot.conf # OS: FreeBSD 6.3-RELEASE-p9 i386 ufs syslog_facility: local6 protocols: imap imaps managesieve

[Dovecot] Expire plugin does not delete expired mail

2009-02-11 Thread Nicolas Letellier
Hello. I use expire plugin with dovecot 1.1.10. See my dovecot -n: # 1.1.10: /usr/local/etc/dovecot.conf # OS: FreeBSD 6.3-RELEASE-p9 i386 ufs syslog_facility: local6 protocols: imap imaps managesieve ssl_cert_file: /etc/ssl/mail/mail.domain.net.cert ssl_key_file:

Re: [Dovecot] Expire plugin does not work

2009-02-05 Thread Nicolas Letellier
On Wed, 04 Feb 2009 12:17:05 -0500 Timo Sirainen t...@iki.fi wrote: On Wed, 2009-02-04 at 11:27 +0100, Nicolas Letellier wrote: Info: us...@domain.tld/Trash: stop, expire time in future: Wed Feb 4 21:00:50 2009 Why this message? I have 3 mailboxes, and the message appears only with

Re: [Dovecot] Expire plugin does not work

2009-02-04 Thread Timo Sirainen
On Wed, 2009-02-04 at 11:27 +0100, Nicolas Letellier wrote: Info: us...@domain.tld/Trash: stop, expire time in future: Wed Feb 4 21:00:50 2009 Why this message? I have 3 mailboxes, and the message appears only with this mailbox. The 2 others mailbox have mails into Trash and Junk

Re: [Dovecot] expire plugin error

2009-01-26 Thread Michael Lechtermann
Hi, Michael Lechtermann schrieb: There is a 1.1.9 release candidate available which contains fixes for Berkeley DB. Maybe this solves your issues. http://dovecot.org/tmp/dovecot-1.1.9.rc.tar.gz Changes since v1.1.8: ... - Berkeley DB memory/resource leak fixes. ... Thanks

Re: [Dovecot] expire plugin error

2009-01-23 Thread e-frog
Anyone know how to fix this? In reply to myself, some more info... Using Google I found some hints that maybe the cache size is too small... but how can that be fixed? Or... since this is BDB and the machine is a sparc64, it's some memory alignment issue? # l /var/lib/dovecot/

Re: [Dovecot] expire plugin error

2009-01-23 Thread Michael Lechtermann
Hi, e-frog schrieb: There is a 1.1.9 release candidate available which contains fixes for Berkeley DB. Maybe this solves your issues. http://dovecot.org/tmp/dovecot-1.1.9.rc.tar.gz Changes since v1.1.8: ... - Berkeley DB memory/resource leak fixes. ... Thanks for the info.

[Dovecot] expire plugin error

2009-01-22 Thread Michael Lechtermann
Hi, I am using the db backend for the expire plugin and found the following error message in the logfile: dovecot: Jan 22 10:10:55 Error: dict: secondary db: unable to allocate space from the buffer cache dovecot: Jan 22 10:10:55 Error: dict: Failed to initialize dictionary 'expire' dovecot:

Re: [Dovecot] expire plugin error

2009-01-22 Thread Michael Lechtermann
Anyone know how to fix this? In reply to myself, some more info... Using Google I found some hints that maybe the cache size is too small... but how can that be fixed? Or... since this is BDB and the machine is a sparc64, it's some memory alignment issue? # l /var/lib/dovecot/ total 3116

Re: [Dovecot] expire plugin with pgsql not working

2009-01-09 Thread Timo Sirainen
On Tue, 2008-12-23 at 07:43 +0100, LÉVAI Dániel wrote: Timo Sirainen wrote: On Dec 22, 2008, at 3:10 AM, LÉVAI Dániel wrote: I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. Look into http://wiki.dovecot.org/Plugins/Expire

Re: [Dovecot] expire plugin with pgsql not working

2008-12-22 Thread LÉVAI Dániel
Timo Sirainen wrote: On Dec 22, 2008, at 3:10 AM, LÉVAI Dániel wrote: I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. Look into http://wiki.dovecot.org/Plugins/Expire instead. Although I just had to fix that page too. Right, now

[Dovecot] expire plugin with pgsql not working

2008-12-21 Thread LÉVAI Dániel
Hi! I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. I'm using dovecot-1.1.7 and pgsql. When moving a message inside the monitored directory, the expires table won't get updated because of an error: statement: INSERT INTO expires

Re: [Dovecot] expire plugin with pgsql not working

2008-12-21 Thread Timo Sirainen
On Dec 22, 2008, at 3:10 AM, LÉVAI Dániel wrote: I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. Look into http://wiki.dovecot.org/Plugins/Expire instead. Although I just had to fix that page too. statement: INSERT INTO expires

Re: [Dovecot] expire plugin with pgsql not working

2008-12-21 Thread LÉVAI Dániel
Timo Sirainen wrote: On Dec 22, 2008, at 3:10 AM, LÉVAI Dániel wrote: I've configured dovecot, and created the db/table/trigger according to http://wiki.dovecot.org/Quota/Dict. Look into http://wiki.dovecot.org/Plugins/Expire instead. Although I just had to fix that page too. Yes, I meant

[Dovecot] Expire plugin with PostgreSQL

2008-12-03 Thread Jon Harvie
Is it possible to use the dovecot 1.1 expire plugin with postgresql and if so how?

Re: [Dovecot] Expire Plugin

2008-10-06 Thread e-frog
On Thu, 2008-09-11 at 18:45 +0200, e-frog wrote: So it seems to use the home directory from the user executing the expire-tool. This should help: http://hg.dovecot.org/dovecot-1.1/rev/e6cd18cbd698 Yes, now it's working. Thanks Timo!

Re: [Dovecot] Expire Plugin

2008-10-05 Thread Timo Sirainen
On Thu, 2008-09-11 at 18:45 +0200, e-frog wrote: So it seems to use the home directory from the user executing the expire-tool. This should help: http://hg.dovecot.org/dovecot-1.1/rev/e6cd18cbd698 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Expire Plugin

2008-09-11 Thread Timo Sirainen
On Wed, 2008-09-03 at 13:06 +0200, e-frog wrote: The expire-tool doesn't find foo's mailbox even if mail_location is set global in the configuration file (please see below). This is exactly the same result as when using PAM and passwd. So I guess there is something wrong with user lookup or

Re: [Dovecot] Expire Plugin

2008-09-11 Thread e-frog
Does it help if you run unset HOME and unset MAIL before running expire-tool? Although I guess I should look into it why it's not working right. :) Not really :) Unsetting MAIL - same result: # dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool --test Info: maildir:

[Dovecot] Expire Plugin

2008-09-03 Thread e-frog
I was struggling for a while to get the expire plugin to expunge mail. I was using (and still would like to use) PAM as passdb and passwd as userdb but with this I could not get the expire-tool to delete any mails. For debugging purpose I switch to passwd-file as userdb/passdb and enabled

[Dovecot] Expire Plugin - LDA with Vpopmail errors

2008-08-07 Thread Ron Culler
I am trying to setup Dovecot to use the expire plugin and wanted to use the LDA so I can ensure the messages are indexed as they are delivered to the mailboxes. This system is only accessed via a webmail interface Using dovecot-1.1.2 and Vpopmail with Qmail Dovecot.conf file base_dir =

Re: [Dovecot] Expire Plugin - LDA with Vpopmail errors

2008-08-07 Thread Eduardo M KALINOWSKI
Ron Culler wrote: I am trying to setup Dovecot to use the expire plugin and wanted to use the LDA so I can ensure the messages are indexed as they are delivered to the mailboxes. This system is only accessed via a webmail interface Using dovecot-1.1.2 and Vpopmail with Qmail Dovecot.conf

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

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 ? #

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] Expire plugin with Mysql

2008-08-04 Thread Dino Ming
Dear Timo, I tried to change back to expire: Trash 1 and it seem still not work whenever I delete email within Mail.app Thunderbird. the dict_expire table not being updated. Here is my dict.conf file connect = host=sql dbname=vmail user=xx password=xx table = dict_expire

Re: [Dovecot] Expire plugin with Mysql

2008-07-20 Thread Timo Sirainen
On Tue, 2008-07-08 at 15:07 +0800, Dino Ming wrote: Hi Timo, I had setup the expire plugin using proxy dict method with mysql table. Whenever I run the command : dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool , I saw dovecot query the table : Query SELECT path,

[Dovecot] Expire plugin with Mysql

2008-07-08 Thread Dino Ming
Hi Timo, I had setup the expire plugin using proxy dict method with mysql table. Whenever I run the command : dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool , I saw dovecot query the table : Query SELECT path, timestamp FROM dict_expire ORDER BY timestamp But then,

Re: [Dovecot] Expire plugin with Mysql

2008-07-05 Thread Dino Ming
Hi Timo, I had setup the expire plugin using proxy dict method with mysql table. Whenever I run the command : dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool , I saw dovecot query the table : Query SELECT path, timestamp FROM dict_expire ORDER BY timestamp But then,

Re: [Dovecot] expire plugin - setgid failed

2008-06-03 Thread e-frog
on v1.1rc8. --Helmut Original Message Subject: Re: [Dovecot] expire plugin - setgid failed From: e-frog [EMAIL PROTECTED] To: Dovecot Mailing List [EMAIL PROTECTED] Date: 27.05.2008 20:06 On Sat, 2008-05-17 at 13:58 +0200, e-frog wrote: If I run the expire tool I get

Re: [Dovecot] expire plugin - setgid failed

2008-06-03 Thread Timo Sirainen
On Jun 3, 2008, at 9:27 PM, e-frog wrote: I'm still having problems to get the expire plugin working. Now I get the following error when running the expire-tool. Error: stat(/root/mail/.Trash/tmp) failed: Permission denied (euid=2005 egid=100) Somehow it tries to access root's mailbox

Re: [Dovecot] expire plugin - setgid failed

2008-06-03 Thread e-frog
-master mode: 384 plugin: quota: maildir quota_rule: *:storage=1GB quota_rule2: Trash:storage=10%% expire: Trash 1 expire_dict: proxy::expire dict: expire: db:/var/lib/dovecot/expire.db Original Message Subject: Re: [Dovecot] expire plugin - setgid failed From

Re: [Dovecot] Expire plugin with Mysql

2008-06-02 Thread Timo Sirainen
On Sun, 2008-06-01 at 20:26 -0400, Eric wrote: On Sun, 04 May 2008 17:50:45 +0300 Timo Sirainen [EMAIL PROTECTED] wrote: A bit late reply, but you should be able to use a table exactly like with quota (http://wiki.dovecot.org/Quota/Dict): Just got around to trying this out, and I

Re: [Dovecot] Expire plugin with Mysql

2008-06-02 Thread Eric T
Seems to work in my tests. Could you do a bit more with gdb: #6 0x0812e512 in client_dict_connect (dict=0x819abc8) at /var/tmp/dovecot-1.1.rc6/src/lib-dict/dict-client.c:268 query = 0x8178664 D\206\027\b\003 fr 6 p *dict Program terminated with signal

Re: [Dovecot] Expire plugin with Mysql

2008-06-02 Thread Timo Sirainen
On Mon, 2008-06-02 at 14:50 -0400, Eric T wrote: Seems to work in my tests. Could you do a bit more with gdb: Wonder why it worked :) Fixed: http://hg.dovecot.org/dovecot-1.1/rev/d73cc550b389 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Expire plugin with Mysql

2008-06-01 Thread Eric
On Sun, 04 May 2008 17:50:45 +0300 Timo Sirainen [EMAIL PROTECTED] wrote: A bit late reply, but you should be able to use a table exactly like with quota (http://wiki.dovecot.org/Quota/Dict): Just got around to trying this out, and I get a segfault when attempting to move a message into the

Re: [Dovecot] expire plugin - setgid failed

2008-05-27 Thread e-frog
On Sat, 2008-05-17 at 13:58 +0200, e-frog wrote: If I run the expire tool I get the following error: server:~# dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool Fatal: setgid(100) failed with euid=2005, gid=0, egid=0: Operation not permitted Does this help?

[Dovecot] expire plugin - setgid failed

2008-05-17 Thread e-frog
Hello all, I'm trying to get the expire plugin working, but still having issues even with 1.1RC5. If I run the expire tool I get the following error: server:~# dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool Fatal: setgid(100) failed with euid=2005, gid=0, egid=0: Operation not

Re: [Dovecot] Expire plugin with Mysql

2008-05-04 Thread Timo Sirainen
On Sat, 2008-03-29 at 15:57 -0400, Eric wrote: Hey guys, got a question about the expire plugin. According to the wiki, the expire plugin keeps an internal database (Berkeley DB or SQL). I was wondering what fields in the mysql table are needed for expire to work. I assume it is setup is

Re: [Dovecot] Expire plugin isn't working

2008-05-04 Thread Timo Sirainen
On Sun, 2008-04-27 at 21:25 +0200, Anders wrote: Timo Sirainen [EMAIL PROTECTED] writes: Right. It uses the message's save time which with maildir is pretty much the same as the file's ctime. I never got so far as to expire mail, because things blew up after some time, and thus

Re: [Dovecot] Expire plugin isn't working

2008-05-04 Thread Timo Sirainen
On Sun, 2008-05-04 at 18:14 +0300, Timo Sirainen wrote: postfix/pipe[13683]: 1031E107806E: to=[EMAIL PROTECTED], relay=vprocmail, delay=0.18, delays=0.04/0.01/0/0.13, dsn=5.3.0, status=bounced (Command died with signal 11: /usr/local/bin/deliver-wrapper) It still shouldn't crash

Re: [Dovecot] Expire plugin isn't working

2008-04-25 Thread Raphael Bittencourt S. Costa
Could you send your configuration? Because on my server the imap still doesn't start dict process, On Fri, 2008-04-25 at 02:18 +0200, Anders wrote: Raphael Bittencourt S. Costa wrote: It's still not working. The dict is called only by expire-tool. I see the db change as mails are

Re: [Dovecot] Expire plugin isn't working

2008-04-25 Thread Anders
Raphael Bittencourt S. Costa wrote: Could you send your configuration? Because on my server the imap still doesn't start dict process, My configuration looks just like yours, except I also use deliver, so I have expire in the lda section as well. I am not quite sure how this is supposed to

Re: [Dovecot] Expire plugin isn't working

2008-04-24 Thread Timo Sirainen
On Wed, 2008-04-16 at 10:49 +0200, Anders wrote: Raphael Bittencourt S. Costa wrote: I followed the wiki to configured the expire plugin on dovecot-1.1rc4 and it isn't working. No error messages on logs or on the execution of dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.

Re: [Dovecot] Expire plugin isn't working

2008-04-24 Thread Raphael Bittencourt S. Costa
Timo, It's still not working. The dict is called only by expire-tool. On Fri, 2008-04-25 at 00:53 +0300, Timo Sirainen wrote: On Wed, 2008-04-16 at 10:49 +0200, Anders wrote: Raphael Bittencourt S. Costa wrote: I followed the wiki to configured the expire plugin on dovecot-1.1rc4

Re: [Dovecot] Expire plugin isn't working

2008-04-24 Thread Timo Sirainen
You mean the dict db isn't even created by expire plugin? It was created in my tests (and expire_altmove also worked in my previous tests). What configuration are you using? On Thu, 2008-04-24 at 20:52 -0300, Raphael Bittencourt S. Costa wrote: Timo, It's still not working. The dict is called

Re: [Dovecot] Expire plugin isn't working

2008-04-24 Thread Raphael Bittencourt S. Costa
On Fri, 2008-04-25 at 02:57 +0300, Timo Sirainen wrote: You mean the dict db isn't even created by expire plugin? Yes. It was created in my tests (and expire_altmove also worked in my previous tests). What configuration are you using? dovecot -n # 1.1.rc4: /etc/dovecot//dovecot.conf

Re: [Dovecot] Expire plugin isn't working

2008-04-24 Thread Anders
Raphael Bittencourt S. Costa wrote: It's still not working. The dict is called only by expire-tool. I see the db change as mails are moved around, but I still did not manage to get expire-tool to delete any mail. I guess it uses the current time of day for the action, not a message

Re: [Dovecot] Expire plugin isn't working

2008-04-24 Thread Timo Sirainen
On Fri, 2008-04-25 at 02:18 +0200, Anders wrote: Raphael Bittencourt S. Costa wrote: It's still not working. The dict is called only by expire-tool. I see the db change as mails are moved around, but I still did not manage to get expire-tool to delete any mail. I guess it uses the

Re: [Dovecot] Expire plugin isn't working

2008-04-16 Thread Anders
Raphael Bittencourt S. Costa wrote: I followed the wiki to configured the expire plugin on dovecot-1.1rc4 and it isn't working. No error messages on logs or on the execution of dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool. Same problem for me. The expire plugin is in fact active,

[Dovecot] Expire plugin isn't working

2008-04-14 Thread Raphael Bittencourt S. Costa
Hello all, I followed the wiki to configured the expire plugin on dovecot-1.1rc4 and it isn't working. No error messages on logs or on the execution of dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool. mailserver02:~ # dovecot -n # 1.1.rc4: /etc/dovecot//dovecot.conf syslog_facility:

Re: [Dovecot] Expire plugin isn't working

2008-04-14 Thread Anders
Raphael Bittencourt S. Costa wrote: I followed the wiki to configured the expire plugin on dovecot-1.1rc4 and it isn't working. No error messages on logs or on the execution of dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool. I also have trouble getting it to do much. It may be

<    1   2