Displaying 20 results from an estimated 20000 matches similar to: "Can expire-tool skip folders with "expire time in future" errors?"
2010 Aug 24
5
When should dictionary entries for the expire plugin be added/updated?
I've set up Dovecot 2.0 with the expire plugin using an SQLite DB, and
when mail is delivered via dovecto-lda, the DB gets updated as expected.
However, when I use Thunderbird 3.1.2 for Mac OS X to move a message to
any of the folders known to the expire plugin (e.g. the 'tmp' folder),
the SQLite DB is not updated.
Here is an excerpt of my current configuration:
#
2011 Apr 15
1
expire-tool skipping mailbox
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. Here is the expire-tool --test output:
Info: alex at scienceforums.net/Junk: timestamp 1284027481 (Thu
2009 May 19
2
expire-tool segmentation fault
Hi!
I'm using Dovecot 1.1.15 on OpenBSD 4.4.
How can I debug this?
# /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-
tool
Segmentation fault (core dumped)
# gdb /usr/local/sbin/dovecot
(gdb) run --exec-mail ext /usr/local/libexec/dovecot/expire-tool
Starting program: /usr/local/sbin/dovecot --exec-mail ext
/usr/local/libexec/dovecot/expire-tool
Program received
2009 Dec 12
4
expire-tool and userdb returned mail location
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.conf, all the data is in a database anyway. A
userdb lookup returns the following for userid at
2009 Apr 23
2
expire tool - individual user/folder?
Hello,
is the expire plugin usable to delete mails with different settings for each
individual user?
If i view sample config at http://wiki.dovecot.org/Plugins/Expire it looks
like expire-data are related to foldernames.
Is it possible to let each user "activate" the expire-plugin for different
folders with different settings?
Thanks,
Andre
2010 Aug 05
1
dovecot 2.0 rc4, expire, sqlite
Hello,
I will use expire like described within wiki2.dovecot.org/Plugins/Expire
with sqlite for a folder AutoCleanSpam.
If I copy a message (with TB) into that folder, I get an error if there
exists no entry for that user and that folder within the database:
dict: Error: sqlite: exec(INSERT INTO expires
(expire_stamp,username,mailbox) VALUES
2008 Aug 05
4
expire-plugin: configuration dict-server
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 dict module: db
dovecot: Aug 05 13:30:25 Error: dict: Failed to initialize dictionary
2009 Feb 22
2
1.2.beta1: expire-tool and 'mail_location' setting
Hi Timo,
Trying 1.2.beta1 with expire plugin currently:
When I set mail_location = maildir:~/.maildir the expire plugin doesn't delete messages.
#: expire-tool --test
Info: auth input: system_user=foo
Info: auth input: uid=1000
Info: auth input: gid=1000
Info: auth input: home=/home/foo
Info: foo/Trash: no messages left
I also noticed that above command creates a new but empty directory
2008 Nov 26
1
expire tool question
Hi, I try to get expire working, with the BDB backend and mbox mailboxes.
If I try to invoke the expire-tool like
/usr/local/sbin/dovecot --exec-mail ext
/usr/local/libexec/dovecot/expire-tool --test
I get
[root at m ~]# /usr/local/sbin/dovecot --exec-mail ext
/usr/local/libexec/dovecot/expire-tool --test
Error: read(/var/run/dovecot/dict-server) failed: Remote disconnected
Hmm. I searched
2008 Dec 19
4
Error: dict: Failed to initialize dictionary 'expire'
Hi!
Using dovecot-1.1.17, and BDB-4.6.21.
I'm having this error in every two weeks or so. I've running this in a
crontab:
/usr/local/sbin/dovecot --exec-mail \
ext /usr/local/libexec/dovecot/expire-tool
The expire plugin and tool is working fine, the configuration is ok, and
I'm using the BDB backend.
What happens in every ~two weeks is dovecot starts to give me this error
2014 Jul 07
1
[PATH] expire plugins segfault with misconfigured dict
dovecot 2.2.13
With configuration like
plugin {
expire_dict = blblbla
}
expiere plugins segfaults during deinit. It might also segfault if the
dict service was unavaiable.
attached bellow is a diff against 2.2.13
Jul 7 14:51:11 dovecot1 dovecot: lmtp(10548, lazy): Error: expire
plugin: dict_init(blblbla) failed: Dictionary URI is missing ':':
blblbla
Jul 7 14:51:11 dovecot1
2008 Mar 29
3
Expire plugin with Mysql
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 similar to the quota dict
setup, so was just wondering what fields are required (i.e:
select_field, where_field, username_field, for quota).
2013 Jan 02
2
Trouble with expire plugin
Hi all,
Maybe someone here can help me with this problem, not sure if this is a
configuration issue or an actual bug.
my daily cron job says:
#!/bin/sh
doveadm expunge -A mailbox Junk savedbefore 14d
doveadm expunge -A mailbox Trash savedbefore 30d
doveadm expunge -A mailbox "Trash.*" savedbefore 30d
But it hasn't been deleting any messages in a long time, I'm not sure
when
2010 Dec 16
2
Expire plugin does not work
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) VALUES ('1292525469','christoph','Trash'))
failed: unable to open database
2009 Feb 11
3
Expire plugin does not delete expired mail
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: /etc/ssl/mail/mail.domain.net.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default):
2009 Jan 28
1
Unknown dict module: db with expire plugin
Hello.
I use dovecot 1.1.8 in a FreeBSD 6.3
Today, I want to active expire plugin.
But it does not work. I made instructions described in http://wiki.dovecot.org/Plugins/Expire for a bdb database.
See my dovecot -n:
# 1.1.8: /usr/local/etc/dovecot.conf
# OS: FreeBSD 6.3-RELEASE-p4 i386 ufs
syslog_facility: local6
ssl_cert_file: /etc/ssl/mail/***********.cert
ssl_key_file:
2008 Nov 30
2
Quota & expire problem
I have managed to get the master quota working, but cannot get individual user quota to do anything.
Here is a line from /etc/dovecot/passwd:
_kari at karico.ca:XXXXXXXXX:502:502::/var/mail/vhosts/karico.ca/kari::userdb_quota_rule=*:bytes=600M_
Also, based on this, the expire cron job says: Unknown dict module: db
# 1.1.6: /etc/dovecot.conf
# OS: Linux 2.6.18-92.1.18.el5.centos.plusxen i686
2008 Oct 27
2
dovecot expire doesn't work (?)
Hi!
I'm using dovecot-1.1.5 and trying to make the expire plugin work.
What I've configured in dovecot.conf is the following:
protocol imap,pop3,lda {
mail_plugins = [...] expire
}
dict {
expire = db:/var/dovecot/expire/expire.db
}
plugin {
expire = spamassassin/SPAM 2 spamassassin/HAM 2
expire_dict = proxy::expire
}
I have a sieve rule, to copy certain messages to my
2008 Jul 10
1
Unknown dict module: db with expire plugin
Hello.
I upgraded my dovecot to 1.1. I use the FreeBSD port.
However, I can't use the expire plugin. See the error:
Unknown dict module: db
expire plugin: dict_init() failed
I see on the mailing list another mail like this problem. And the
problem is the imap library is not linked to libdb.
Is there a solution?
Have I to contact the FreeBSD maintainer to link the binary to the
library?
2009 Feb 13
2
Expire failing with error Remote Disconnected
I'm trying to follow the instructions from:
http://wiki.dovecot.org/Plugins/Expire
for the BDB backend.
Everything is set up as indicated, but when I run:
dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool
I get back:
Error: read(/var/run/dovecot/dict-server) failed: Remote disconnected
I'm sure it's something simple....
Thx
rick
dovecot -n:
# 1.1.8: /etc/dovecot.conf
#