Re: [Dovecot] Expire plugin - empty expires table

2013-12-09 Thread Peter Šori
combinations. Thanks for help Steffen. -Original Message- From: Steffen Kaiser [mailto:skdove...@smail.inf.fh-brs.de] Sent: Monday, December 9, 2013 9:08 AM To: Peter Šori Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Expire plugin - empty expires table -BEGIN PGP SIGNED MESSAGE- Hash

Re: [Dovecot] Expire plugin - empty expires table

2013-12-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 8 Dec 2013, Peter Šori wrote: Dovecot does not fill expires table when moving messages to Trash or Junk folder. I don't use expire, but: http://wiki2.dovecot.org/Plugins/Expire disagrees with # 2.2.6: /etc/dovecot/dovecot.conf [...] p

[Dovecot] Expire plugin - empty expires table

2013-12-08 Thread Peter Šori
Hello, Dovecot does not fill expires table when moving messages to Trash or Junk folder. I looked all over mailing list and googled around and cannot find what could be wrong - pleas help :) Dict works for quota, so I presume connection to mysql is not a problem - mailuser has Select,Inser

Re: [Dovecot] Expire plugin and databases

2013-12-05 Thread Gedalya
You need something, sqlite is perhaps your "lightest" option. You need to store the expire data somewhere.. http://wiki2.dovecot.org/Plugins/Expire On 12/05/2013 04:51 PM, Mauricio Tavares wrote: Dumb question: do I need to have a database to run the expire plugin?

[Dovecot] Expire plugin and databases

2013-12-05 Thread Mauricio Tavares
Dumb question: do I need to have a database to run the expire plugin?

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Gedalya
t.org Subject: Re: [Dovecot] expire plugin doesn't work? I don't know, why don't you just try? If you run the exact same command but with "search" instead of "expunge", it should also use the expire plugin in the same way, so that should be an easy test. Are you

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
24 Aug 2013 06:22:32 -0400 From: geda...@gedalya.net To: anton.chi...@live.com CC: dovecot@dovecot.org Subject: Re: [Dovecot] expire plugin doesn't work? Yes, you add that cron job, and it would work with or wit

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Gedalya
n is enabled? Or should I still fix it to get it works properly? Thanks a lot for your help! Date: Sat, 24 Aug 2013 06:22:32 -0400 From: geda...@gedalya.net To: anton.chi...@live.com CC: dovecot@dovecot.org Subject: Re: [Dovecot]

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
gedalya.net To: anton.chi...@live.com CC: dovecot@dovecot.org Subject: Re: [Dovecot] expire plugin doesn't work? Yes, you add that cron job, and it would work with or without the expire plugin. The thing is that if the expire plugin is enabled, the "doveadm

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Gedalya
; ? Thanks a lot! > Date: Fri, 23 Aug 2013 21:17:34 -0400 > From: geda...@gedalya.net > To: dovecot@dovecot.org; anton.chi...@live.com > Subject: Re: [Dovecot] expire plugin doesn't work? > > On 08/23/2013 09:05 PM, Anton Chigin wrote: > > plugin { > > expire =

Re: [Dovecot] expire plugin doesn't work?

2013-08-24 Thread Anton Chigin
it?I mean I want to understand how to configure mails to be removed...Do I need to add to cron "doveadm expunge -A mailbox Trash savedbefore 30d" ? Thanks a lot! > Date: Fri, 23 Aug 2013 21:17:34 -0400 > From: geda...@gedalya.net > To: dovecot@dovecot.org; anton.chi...@live.com

Re: [Dovecot] expire plugin doesn't work?

2013-08-23 Thread Gedalya
On 08/23/2013 09:05 PM, Anton Chigin wrote: plugin { expire = Trash 7 expire_dict = proxy::expire You're using Dovecot 2.1, that configuration syntax is for 1.2. Please follow documentation at http://wiki2.dovecot.org/Plugins/Expire

[Dovecot] expire plugin doesn't work?

2013-08-23 Thread Anton Chigin
Hello, I've configured dovecot to use expire plugin: heres my dovecot -n: - # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.1 ext4 auth_mechanisms = plain login dict { expire = mysql:/etc/dovecot/dovecot-dict-expire-sql.conf.ext } mail_location = m

Re: [Dovecot] Expire plugin with multiple mail servers

2012-09-12 Thread Ramón Frontera
Hello, I have configured mysql on one server and each mail server use this database for expire plugin. I have configured each mail server as explains on:http://wiki2.dovecot.org/Plugins/Expire But now I have a question; How i configure director server to use the database? I need to configure exp

Re: [Dovecot] Expire plugin with multiple mail servers

2012-09-11 Thread Timo Sirainen
On 11.9.2012, at 12.41, Ramón Frontera wrote: > Hello we are running Dovecot 2.1.9 and I want to configure expire plugin. > We have 2 proxies with director and 4 mail servers. > > I have configured expire plugin on a single mail server and it works Ok. > I don't konw how to configure with 4 mail

Re: [Dovecot] Expire plugin with multiple mail servers

2012-09-11 Thread Robert Schetterer
Am 11.09.2012 11:41, schrieb Ramón Frontera: > Hello we are running Dovecot 2.1.9 and I want to configure expire plugin. > We have 2 proxies with director and 4 mail servers. > > I have configured expire plugin on a single mail server and it works Ok. > I don't konw how to configure with 4 mail se

[Dovecot] Expire plugin with multiple mail servers

2012-09-11 Thread Ramón Frontera
Hello we are running Dovecot 2.1.9 and I want to configure expire plugin. We have 2 proxies with director and 4 mail servers. I have configured expire plugin on a single mail server and it works Ok. I don't konw how to configure with 4 mail servers and 2 proxies. My first idea is create on each m

Re: [Dovecot] Expire-tool does not delete duplicate messages (dovecot-1.2.17)

2012-08-17 Thread Timo Sirainen
On 17.8.2012, at 14.24, Oleksii Krykun wrote: > Trying to implement expire plugin. > expire-tool works fine. This delete expunged messages but not all of them. > I have duplicate messages in appropriate folder. These messages are from > expanding postfix aliases (e.g. postmaster@, hostmaster@, abu

[Dovecot] Expire-tool does not delete duplicate messages (dovecot-1.2.17)

2012-08-17 Thread Oleksii Krykun
Trying to implement expire plugin. expire-tool works fine. This delete expunged messages but not all of them. I have duplicate messages in appropriate folder. These messages are from expanding postfix aliases (e.g. postmaster@, hostmaster@, abuse@ etc. points to same mailbox and spam often sent to

Re: [Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-30 Thread Joseph Tam
Timo Sirainen writes: > In practice, if this query is done on a periodic interval (e.g. daily), > the date.saved will be roughly correct, and is usable as an age test > for expungement. > > Is there a way to force this value to be cached when the client actually > saves or moves a message? Done

Re: [Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-28 Thread Timo Sirainen
On 19.7.2012, at 4.24, Joseph Tam wrote: > I previously observed that the "date.saved" field (tested by savedbefore) > seems to be clustered around particular timestamps. > > Dumping out this field using > > doveadm -ftab fetch -A \ > "mailbox date.saved" \ > \(

Re: [Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-18 Thread Joseph Tam
Michael Wessel writes: When I run for example: doveadm -D search -A mailbox Trash savedbefore 60d > /tmp/discard I previously observed that the "date.saved" field (tested by savedbefore) seems to be clustered around particular timestamps. Dumping out this field using doveadm -ftab

Re: [Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-18 Thread Michael Wessel
On 7/14/2012 11:14 PM, Robert Schetterer wrote: 1.2.11 is outdated you should upgrade 2.1.8 and try again Thanks. I knew the version was old but I wasn't quite ready for the upgrade. Anyway, I got ready, sat down and upgraded to 2.1.8 this weekend and have it all running again now. Expirin

Re: [Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-14 Thread Robert Schetterer
Am 15.07.2012 05:34, schrieb Michael Wessel: > Hi, > > I'm running dovecot 1.2.11 on Centos and have the expire plugin enabled. > I've had this in place for some time but until now never actually ran > the expire-tool. I'm now trying to put this to use. > > The expire plugin as such is working fi

[Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-14 Thread Michael Wessel
Hi, I'm running dovecot 1.2.11 on Centos and have the expire plugin enabled. I've had this in place for some time but until now never actually ran the expire-tool. I'm now trying to put this to use. The expire plugin as such is working fine and also the tool is working fine - up to a point.

Re: [Dovecot] Expire plugin not executing for sieve plugin?

2011-11-04 Thread Timo Sirainen
On Tue, 2011-10-25 at 00:25 +0200, Stephan Bosch wrote: > On 10/24/2011 7:52 PM, Dan Swartzendruber wrote: > > > > No ideas? I googled some more and eventually turned up this posting: > > > > http://www.mailinglistarchive.com/html/dovecot@dovecot.org/2011-01/msg00716.html > > > > > > > > guy see

Re: [Dovecot] Expire plugin not executing for sieve plugin?

2011-10-24 Thread Stephan Bosch
On 10/24/2011 7:52 PM, Dan Swartzendruber wrote: No ideas? I googled some more and eventually turned up this posting: http://www.mailinglistarchive.com/html/dovecot@dovecot.org/2011-01/msg00716.html guy seems to be having the exact problem I am, unfortunately, no-one replied to his post e

Re: [Dovecot] Expire plugin not executing for sieve plugin?

2011-10-24 Thread Dan Swartzendruber
No ideas? I googled some more and eventually turned up this posting: http://www.mailinglistarchive.com/html/dovecot@dovecot.org/2011-01/msg00716.html guy seems to be having the exact problem I am, unfortunately, no-one replied to his post either :(

[Dovecot] Expire plugin not executing for sieve plugin?

2011-10-20 Thread Dan Swartzendruber
Running dovecot 1.2.12 on ubuntu 10.10. Here is the problem: I have mysql backend for expire. I am using the dovecot-postfix package which creates /etc/dovecot/conf.d/01-mail-stack-delivery.conf which looks like this: # Some general options protocols = imap imaps managesieve disable_plaint

[Dovecot] Expire plugin not executing for sieve plugin?

2011-10-20 Thread Dan Swartzendruber
Running dovecot 1.2.12 on ubuntu 10.10. Here is the problem: I have mysql backend for expire. I am using the dovecot-postfix package which creates /etc/dovecot/conf.d/01-mail-stack-delivery.conf which looks like this: # Some general options protocols = imap imaps managesieve disable_plaint

Re: [Dovecot] expire-tool skipping mailbox

2011-04-20 Thread Timo Sirainen
On Mon, 2011-04-18 at 14:45 -0500, Alex Reinhart wrote: > I resolved this issue by deleting some messages from my Junk mailbox which > had Date headers long in the past and future, despite being very old. It > appears to me that expire-tool quit when a message had a Date header forged > to be no

Re: [Dovecot] expire-tool skipping mailbox

2011-04-19 Thread Alex Reinhart
I resolved this issue by deleting some messages from my Junk mailbox which had Date headers long in the past and future, despite being very old. It appears to me that expire-tool quit when a message had a Date header forged to be non-expired, despite the message being old enough to have been exp

[Dovecot] expire-tool skipping mailbox

2011-04-15 Thread Alex Reinhart
Hello, I have dovecot set up with expire-tool to nuke Junk messages greater than 30 days old. On a server with many user accounts, it seems to work on most of them. However, on my user account, expire-tool skips my Junk folder entirely, despite it containing messages from January of this year.

Re: [Dovecot] expire plugin and sieve

2011-03-03 Thread cvb
On Thu, 10 Feb 2011 02:07:38 +0200, Timo Sirainen wrote: However, the combination of sieve and expire does not seem to be working: When sieve moves messages into a folder, no entry is created in the database. Don't these plugins work together, or did I misconfigure something? If you didn

Re: [Dovecot] expire plugin and sieve

2011-02-09 Thread Timo Sirainen
On Sat, 2011-01-22 at 08:27 +0100, c...@kruemel.org wrote: > However, the combination of sieve and expire does not seem to be > working: When sieve moves messages into a folder, no entry is created in > the database. Don't these plugins work together, or did I misconfigure > something? If y

[Dovecot] expire plugin and sieve

2011-01-21 Thread cvb
Hi. I am running dovecot 1.2.9 here, allowing users to filter their mails with the sieve plugin, and am using sieve to move mail tagged as probably spam into the spam folder. I'm now looking to get the expire plugin working as well. It does work as described in the wiki: Once I manually move

Re: [Dovecot] Expire plugin does not work

2010-12-17 Thread Christoph Pleger
Hello, > But if it's 0666, I'm not really sure what the problem could be. You > could try if dict can access it as root: > > service dict { > user = root > } I have found the solution: The directory where the sqlite3 database resides must be writable by the dovecot user. Regards Christoph

Re: [Dovecot] Expire plugin does not work

2010-12-17 Thread Timo Sirainen
On Thu, 2010-12-16 at 20:55 +0100, Christoph Pleger wrote: > dovecot: dict: Error: sqlite: exec(INSERT INTO expires > (expire_stamp,username,mailbox) VALUES ('1292525469','christoph','Trash')) > failed: unable to open database file (14) So SQLite can't open its database. I don't know what "14"

Re: [Dovecot] Expire plugin does not work

2010-12-16 Thread Christoph Pleger
Hello, I forgot to mention the dovecot version number. It is version 2.0.7. Regards Christoph

[Dovecot] Expire plugin does not work

2010-12-16 Thread Christoph Pleger
Hello, I followed the instructions on http://wiki2.dovecot.org/Plugins/Expire to configure the expire plugin, but when I move a message to the Trash folder, I get the following error messages in my logfile: dovecot: dict: Error: sqlite: exec(INSERT INTO expires (expire_stamp,username,mailbox)

Re: [Dovecot] Expire Mysql backend

2010-09-16 Thread Timo Sirainen
Well, looks like there isn't exactly that kind of support, at least not easily.. But there are a couple of choices: a) Do you really need expire plugin? Do you have that many users that it's actually required? If not, you can just run doveadm expunge command separately for each user, giving whatev

Re: [Dovecot] Expire Mysql backend

2010-09-16 Thread Paweł Madej
Hello Timo, After searching documentation a lot I had to write here. I'm sorry to say that Expire plugin documentation says nothing about such configuration scenario. There are only informations about dict and timestamps. but this was also in 1.2.x version. Could you link where to read about this

Re: [Dovecot] Expire Mysql backend

2010-09-13 Thread Paweł Madej
amd64 stable now but last week as i synced it was masked. now its ~amd64. thanks for pointing out :* On Mon, 13 Sep 2010 09:03:24 -0400, Charles Marcus wrote: > On 2010-09-13 8:00 AM, Paweł Madej wrote: >> I use v1.2.x for now because 2.0 is hard masked in gentoo portage. > > What arch? Its ~un

Re: [Dovecot] Expire Mysql backend

2010-09-13 Thread Charles Marcus
On 2010-09-13 8:00 AM, Paweł Madej wrote: > I use v1.2.x for now because 2.0 is hard masked in gentoo portage. What arch? Its ~unstable for amd64... -- Best regards, Charles

Re: [Dovecot] Expire Mysql backend

2010-09-13 Thread Paweł Madej
On Mon, 13 Sep 2010 15:09:37 +0300, Eray Aslan wrote: > On 13.09.2010 15:00, Paweł Madej wrote: >> I use v1.2.x for now because 2.0 is hard masked in gentoo portage. > > Not anymore. Please sync your tree. > That's nice :) >> How >> stable is v2.0 for now? is it suitable for production envi

Re: [Dovecot] Expire Mysql backend

2010-09-13 Thread Eray Aslan
On 13.09.2010 15:00, Paweł Madej wrote: > I use v1.2.x for now because 2.0 is hard masked in gentoo portage. Not anymore. Please sync your tree. > How > stable is v2.0 for now? is it suitable for production environment or > should I wait a bit until it is more tested? That is for you to decide

Re: [Dovecot] Expire Mysql backend

2010-09-13 Thread Paweł Madej
I use v1.2.x for now because 2.0 is hard masked in gentoo portage. How stable is v2.0 for now? is it suitable for production environment or should I wait a bit until it is more tested? On Mon, 13 Sep 2010 12:57:23 +0100, Timo Sirainen wrote: > On Thu, 2010-09-09 at 11:17 +0200, Paweł Madej wrote:

Re: [Dovecot] Expire Mysql backend

2010-09-13 Thread Timo Sirainen
On Thu, 2010-09-09 at 11:17 +0200, Paweł Madej wrote: > Is it possible to make expire plugin get per user number of days to > expire emails in trash? > > for example > > user1 trash 14d > user2 trash 30d > user3 trash 0d - disable v2.0 yes, v1.x no.

[Dovecot] Expire Mysql backend

2010-09-09 Thread Paweł Madej
Hello, Is it possible to make expire plugin get per user number of days to expire emails in trash? for example user1 trash 14d user2 trash 30d user3 trash 0d - disable -- Paweł Madej

Re: [Dovecot] expire plugin

2010-08-04 Thread Arnaud2 bali
Timo Sirainen wrote: On Tue, 2010-08-03 at 10:59 +0200, Arnaud2 bali wrote: expire: .Trash 1 .Trash/* 1 .Spam 2 Remove '.' before the mailbox names. That good Thank you very much # 1.2.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.5 log_timestamp

Re: [Dovecot] expire plugin

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 10:59 +0200, Arnaud2 bali wrote: > expire: .Trash 1 .Trash/* 1 .Spam 2 Remove '.' before the mailbox names.

Re: [Dovecot] expire plugin

2010-08-03 Thread Arnaud2 bali
Timo Sirainen wrote: On Tue, 2010-08-03 at 10:59 +0200, Arnaud2 bali wrote: connect = host=localhost user=xx password=x dbname=postfixadmin map { pattern = /home/vmail/homes/$user/$mailbox #shared/expire/$user/$mailbox .. Is pattern ok ? No, it always must be "s

Re: [Dovecot] expire plugin

2010-08-03 Thread Timo Sirainen
On Tue, 2010-08-03 at 10:59 +0200, Arnaud2 bali wrote: > connect = host=localhost user=xx password=x dbname=postfixadmin > map { > pattern = /home/vmail/homes/$user/$mailbox > #shared/expire/$user/$mailbox .. > Is pattern ok ? No, it always must be "shared/expire/$user/$mailbox".

[Dovecot] expire plugin

2010-08-03 Thread Arnaud2 bali
Hi I try to use expire plugin with mysql When i use my thunderbird client to delete a message, nothing is write in the mysql database. My maildir is look like /home/vmail/homes/arna...@xxx..xxx/ and /etc/dovecot/dovecot-dict-expire.conf : connect = host=localhost user=xx password=

Re: [Dovecot] expire

2010-07-08 Thread Edgar Fuß
> This is a bashism. The script should begin #!/bin/bash, not #!/bin/sh. Or rewrite it in plain sh: l="" for i in ${MAIL_PLUGINS}; do case $i in imap_quota|mail_log) ;; *) l="$l $i";; esac done MAIL_PLUGINS="${l# }"

Re: [Dovecot] expire

2010-07-06 Thread Timo Sirainen
On 6.7.2010, at 22.07, Papp Tamas wrote: > #!/bin/sh .. > MAIL_PLUGINS=${MAIL_PLUGINS//imap_quota/} This is a bashism. The script should begin #!/bin/bash, not #!/bin/sh.

Re: [Dovecot] expire

2010-07-06 Thread Anton Dollmaier
Hi, I'm sure, I do something the wrong way. indeed. Check dovecot-wiki, section "Dovecot v1.2": http://wiki.dovecot.org/Plugins/Expire create the expire-tool.sh and use this instead of the binary. best regards, Anton

Re: [Dovecot] expire

2010-07-06 Thread Papp Tamás
Phil Howard wrote, On 2010. 07. 06. 23:10: Looks like a newer version that I can't help on. Should be plenty others around at some point. If I run only the pure binary: $ dovecot --exec-mail ext /usr/lib/dovecot/expire-tool Error: dlopen(/usr/lib/dovecot/modules

Re: [Dovecot] expire

2010-07-06 Thread Phil Howard
Looks like a newer version that I can't help on. Should be plenty others around at some point. -- sHiFt HaPpEnS!

Re: [Dovecot] expire

2010-07-06 Thread Papp Tamas
On Tue, Jul 06, 2010 at 01:06:42PM -0400, Phil Howard wrote: > On Tue, Jul 6, 2010 at 11:35, Papp Tamás wrote: > > /usr/lib/dovecot/expire-tool.sh > > Is it a script? I'm on Ubuntu 9.10 with Dovecot 1.1.11 and there is > no /usr/lib/dovecot/expire-tool.sh though there

Re: [Dovecot] expire

2010-07-06 Thread William Blunn
Phil Howard wrote: On Tue, Jul 6, 2010 at 11:35, Papp Tamás wrote: /usr/lib/dovecot/expire-tool.sh Is it a script? I'm on Ubuntu 9.10 with Dovecot 1.1.11 and there is no /usr/lib/dovecot/expire-tool.sh though there is a /usr/lib/dovecot/expire-tool file which is an executable b

Re: [Dovecot] expire

2010-07-06 Thread Phil Howard
On Tue, Jul 6, 2010 at 11:35, Papp Tamás wrote: > /usr/lib/dovecot/expire-tool.sh Is it a script? I'm on Ubuntu 9.10 with Dovecot 1.1.11 and there is no /usr/lib/dovecot/expire-tool.sh though there is a /usr/lib/dovecot/expire-tool file which is an executable binary. marconi/root/x0 /

[Dovecot] expire

2010-07-06 Thread Papp Tamás
hi! $ dovecot --exec-mail ext /usr/lib/dovecot/expire-tool.sh /usr/lib/dovecot/expire-tool.sh: 9: Bad substitution What's the problem, do I miss something? This is the first time, I trying to use expire. This is an Ubuntu 10.04 . Thank you, tamas

Re: [Dovecot] expire plugin

2010-06-22 Thread suzuki
2010/6/22 Timo Sirainen : >> I am testing expire plugin, with quota plugin enabled. >> When I execute expire-tool, maildirsize is not updated. >> >> Is there any solution to update maildirsize when executing expire-tool? >> >> # /usr/local/dovecot/sbin/dovecot --version >> 1.1.18 > > You could try

Re: [Dovecot] expire plugin

2010-06-21 Thread Timo Sirainen
On Mon, 2010-06-21 at 12:25 +0900, suzuki wrote: > Hello, > > I am testing expire plugin, with quota plugin enabled. > When I execute expire-tool, maildirsize is not updated. > > Is there any solution to update maildirsize when executing expire-tool? > > # /usr/local/dovecot/sbin/dovecot --versi

[Dovecot] expire plugin

2010-06-20 Thread suzuki
Hello, I am testing expire plugin, with quota plugin enabled. When I execute expire-tool, maildirsize is not updated. Is there any solution to update maildirsize when executing expire-tool? # /usr/local/dovecot/sbin/dovecot --version 1.1.18 # /usr/local/dovecot/sbin/dovecot -n # 1.1.18: /usr/lo

Re: [Dovecot] Expire plugin

2010-05-05 Thread Thomas M Goerger
Hi, We've resolved the issues that started this thread off. We needed to recompile our version of Dovecot (1.1.6) with the inclusion of the mySQL libraries. With this done, we were able to connect Dovecot to the mySQL db, and got the expire plugin to save times to the db. This works great, and

Re: [Dovecot] Expire plugin

2010-04-27 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 23 Apr 2010, Thomas M Goerger wrote: How is this socket created? I'd have thought it would be created upon I would say on the start of Dovecot. Dovecot starting up, but it is not doing so. Is it something in the plugin settings that ca

Re: [Dovecot] Expire plugin

2010-04-23 Thread Thomas M Goerger
Actually, this is where the problem is coming in. We'd switched the server from using IMAPS to IMAP, and I'd neglected to change the folder location. So, now using the mail/Trash folder, I'm again seeing the permission denied. We'd determined that the dict-server socket that was being used was a

Re: [Dovecot] Expire plugin

2010-04-23 Thread Thomas M Goerger
I do now see on the console: Apr 22 16:56:14 mars.tc.umn.edu imap(testg019): : net_connect_unix(/var/opt/dovecot/run/dovecot/dict-server) failed: Connection refused I owned this file to mysql:mysql now, and the error has gone away on subsequent logins, but I still don't see anything in the db.

Re: [Dovecot] Expire plugin

2010-04-23 Thread Thomas M Goerger
Yes, the plugin is loading. The libraries associated are being touched upon user login, so it looks like expire is running. Just that nothing is being added to the database upon a user putting something into the Trash. We do have our mail not in root of a user folder, but in mail/. So, I added m

Re: [Dovecot] Expire plugin

2010-04-23 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 Apr 2010, Thomas M Goerger wrote: expires table when I look. Is there anywhere that expire can log to so I can see what might be happening? It doesn't look like it logs to the Did you checked that the plugin is loaded at all? Regards

[Dovecot] Expire plugin

2010-04-22 Thread Thomas M Goerger
Hi, I'm testing out the dovecot expire plugin, and not seeing anything go into the database I've got set up. It's a mysql db. I've gone in and verified that the db is set up correctly. The socket is set up so that deliver should be able to talk to the db, but I'm n

Re: [Dovecot] Expire plugin / expire-tool redesign for doveadm

2010-04-14 Thread Timo Sirainen
On 14.4.2010, at 11.04, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, 13 Apr 2010, Timo Sirainen wrote: > >> The expire plugin keeps track of the oldest message in configured >> mailboxes. Its only configuration is the list of tracked mailboxes. >> There's n

Re: [Dovecot] Expire plugin / expire-tool redesign for doveadm

2010-04-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 13 Apr 2010, Timo Sirainen wrote: The expire plugin keeps track of the oldest message in configured mailboxes. Its only configuration is the list of tracked mailboxes. There's no configuration like what the expire timeouts are or anything.

[Dovecot] Expire plugin / expire-tool redesign for doveadm

2010-04-13 Thread Timo Sirainen
Expire plugin / expire-tool seems annoyingly inflexible currently, so I was thinking about a more generic redesign: The expire plugin keeps track of the oldest message in configured mailboxes. Its only configuration is the list of tracked mailboxes. There's no configuration like what the expire ti

Re: [Dovecot] expire plugin doesn't find mail location

2010-01-19 Thread Timo Sirainen
On Tue, 2010-01-12 at 17:02 +0100, Roland Rosenfeld wrote: > But the 'mail' attribute from userdb is still ignored by expire. Well, I'm getting a bit tired of fixing all the issues with expire-tool. Since you found a working solution for yourself, I won't do anything about this for now. v2.0 fixes

Re: [Dovecot] expire plugin doesn't find mail location

2010-01-12 Thread Roland Rosenfeld
On Tue, 12 Jan 2010, I wrote: > After searching for hours now, I give up and have to ask here. I try > to use the expire plugin but it always tries to expire my mails > instead of the mails of the user. > So my main problem seems to be, that the mail attribute from the > userdb is completely ign

[Dovecot] expire plugin doesn't find mail location

2010-01-12 Thread Roland Rosenfeld
nd in dovecot.expires there is +--+-+--+ | username | mailbox | expire_stamp | +--+-+--+ | test | Trash | 1262779049 | +--+-+----------+ But if I run /usr/local/dovecot/sbin/dovecot --exec-mail ext /usr/local/dovecot/libex

Re: [Dovecot] expire db(s)?

2009-12-18 Thread Timo Sirainen
On Dec 18, 2009, at 5:57 PM, b...@electricembers.net wrote: > with two separate dovecot/backend servers accessing one central mysql server, > will it be ok to have them both use the same expires table? Or will that > confuse the actual > dovecot --exec-mail ext /usr/local/libexec/do

[Dovecot] expire db(s)?

2009-12-18 Thread ben
with two separate dovecot/backend servers accessing one central mysql server, will it be ok to have them both use the same expires table? Or will that confuse the actual dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool.sh cronjob since some of the entries mailboxes won't

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-14 Thread Tapio Sokura
Timo Sirainen wrote: On Sat, 2009-12-12 at 13:46 +0200, Tapio Sokura wrote: I'm having problems with expire-tool in Dovecot 1.2.6 not finding the mailboxes. I had Here's a simple way that should work: mail_location = mbox:~/mails:INDEX=~/indexes and then you can also drop the mail field fro

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-13 Thread Timo Sirainen
On Sat, 2009-12-12 at 13:46 +0200, Tapio Sokura wrote: > I'm having problems with expire-tool in Dovecot 1.2.6 not finding the > mailboxes. I had > > mail_location = > mbox:/var/spool/dovecotmail/%d/%n/mails:INDEX=/var/spool/dovecotmail/%d/%n/indexes > > in dovecot.conf, but that doesn't work w

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-12 Thread Tapio Sokura
Charles Marcus wrote: You forgot dovecot -n output... # 1.2.6: /usr/local/dovecot/etc/dovecot.conf # OS: Linux 2.6.18-164.6.1.el5 x86_64 CentOS release 5.4 (Final) base_dir: /var/run/dovecot/ protocols: imap imaps pop3 pop3s managesieve ssl_cert_file: /etc/pki/tls/certs/dovecot.crt ssl_key_file

Re: [Dovecot] expire-tool and userdb returned mail location

2009-12-12 Thread Charles Marcus
On 12/12/2009, Tapio Sokura (oh2...@iki.fi) wrote: > When I run expire-tool under strace, I can see that it is indeed > looking for the mails in the typical autodetect locations (Maildir, > mail, Mail) under user's home directory. So it appers that > expire-tool takes the home directory from userdb

[Dovecot] expire-tool and userdb returned mail location

2009-12-12 Thread Tapio Sokura
Hello, I'm having problems with expire-tool in Dovecot 1.2.6 not finding the mailboxes. I had mail_location = mbox:/var/spool/dovecotmail/%d/%n/mails:INDEX=/var/spool/dovecotmail/%d/%n/indexes in dovecot.conf, but that doesn't work with expire-tool. So I commented that out from dovecot.con

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-24 Thread Nikita Koshikov
On Mon, 23 Nov 2009 12:01:53 -0500 Timo Sirainen wrote: > On Mon, 2009-11-23 at 18:01 +0200, Nikita Koshikov wrote: > > On Fri, 06 Nov 2009 18:42:49 -0500 > > Timo Sirainen wrote: > > > > > On Fri, 2009-11-06 at 10:27 +0200, Nikita Koshikov wrote: > > > > I don't understand why gdb says "no deb

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-23 Thread Timo Sirainen
On Mon, 2009-11-23 at 18:01 +0200, Nikita Koshikov wrote: > On Fri, 06 Nov 2009 18:42:49 -0500 > Timo Sirainen wrote: > > > On Fri, 2009-11-06 at 10:27 +0200, Nikita Koshikov wrote: > > > I don't understand why gdb says "no debugging symbols found" for some > > > dovecot's executables, all binari

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-23 Thread Nikita Koshikov
On Fri, 06 Nov 2009 18:42:49 -0500 Timo Sirainen wrote: > On Fri, 2009-11-06 at 10:27 +0200, Nikita Koshikov wrote: > > I don't understand why gdb says "no debugging symbols found" for some > > dovecot's executables, all binaries under /usr/libexec/dovecot have > > "not stripped" > .. > > (gdb) b

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-06 Thread Nikita Koshikov
s NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". Attaching to process 26407 Reading symbols from /usr/libexec/dovecot/expire-tool...(no debugging symbols found)...done. Reading s

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-31 Thread Nikita Koshikov
> > The patch helped with quotas, but it raises new error - "segmentation > error" > > After some more tests, I find out that crash happens, while trying to proceed the third user, and the user's quota and other settings not important.

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-31 Thread Nikita Koshikov
On Fri, 30 Oct 2009 13:16:47 -0400 Timo Sirainen wrote: > On Fri, 2009-10-30 at 14:03 +0200, Nikita Koshikov wrote: > > > > The problem that some users have their own quotas stored in ldap. > > See if the attached patch helps? I'm a bit afraid that it could also > break something. If it does,

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-31 Thread Nikita Koshikov
; break something. If it does, there's really no easy way to get this > fixed before v2.0. > The patch helped with quotas, but it raises new error - "segmentation error" Here details: # /usr/sbin/dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh Info: Loading

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-30 Thread Timo Sirainen
On Fri, 2009-10-30 at 14:03 +0200, Nikita Koshikov wrote: > > > The problem that some users have their own quotas stored in ldap. See if the attached patch helps? I'm a bit afraid that it could also break something. If it does, there's really no easy way to get this fixed before v2.0. diff -r a

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-30 Thread Nikita Koshikov
bin/dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh --test: Info: Loading modules from directory: /usr/lib/dovecot/imap Info: Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so Info: Module loaded: /usr/lib/dovecot/imap/lib11_trash_plugin.so Info: Module loaded

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-30 Thread Nikita Koshikov
On Thu, 29 Oct 2009 13:10:37 -0400 Timo Sirainen wrote: > On Wed, 2009-10-28 at 10:30 +0200, Nikita Koshikov wrote: > > The problem that some users have their own quotas stored in ldap. > > So the quota_rule should be returned by userdb lookup from ldap, right? Yes, and it's working fine with

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-29 Thread Timo Sirainen
On Wed, 2009-10-28 at 10:30 +0200, Nikita Koshikov wrote: > The problem that some users have their own quotas stored in ldap. So the quota_rule should be returned by userdb lookup from ldap, right? > Info: auth input: uid=8 > Info: auth input: gid=12 > Info: auth input: home=/data/mail/domain.c

[Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-28 Thread Nikita Koshikov
=10%% ), after dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh command. The problem that some users have their own quotas stored in ldap. For example, user s...@domain.com have maildirsize before running expire-tool(1G value from ldap): # head -2 /data/mail/domain.com/sr/data

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Jose Luis Marin Perez
Thanks Timo > From: t...@iki.fi > To: jolumape...@hotmail.com > Date: Tue, 20 Oct 2009 16:46:52 -0400 > CC: dovecot@dovecot.org > Subject: Re: [Dovecot] Expire plugin per domain > > On Tue, 2009-10-20 at 15:43 -0500, Jose Luis Marin Perez wrote: > > D

Re: [Dovecot] Expire plugin per domain

2009-10-20 Thread Timo Sirainen
On Tue, 2009-10-20 at 15:43 -0500, Jose Luis Marin Perez wrote: > DOMAIN=`echo $VPOPUSER|sed s/^.*@//` .. > > > vchkpw-wrapper.sh does, except since it doesn't call vchkpw > itself, > > > it'll need to get the username from $USER instead of $VPOPUSER. > > > The above explains the first problem...

  1   2   3   4   >