similar to: Trash expire plugin

Displaying 20 results from an estimated 50000 matches similar to: "Trash expire plugin"

2010 Nov 24
2
Automatic expire on post-login
I need to clear two folder from Maildir at login. Exatly, delete all mails older than 30 days on Trash and 1 day on spam folder. I'm using dovecot 2.0 and I think about use a post-login script calling doveadm -u $user expunge but post-login scripts in dovecot 2.0 are very complex Is there possible to get the environment vars like on dovecot 1.2 ? I think this action must be done by expire
2010 Jul 17
2
mdbox expunge purge question
Hi, I'm testing Dovecot 2.0rc2 with mdbox mail format and I'm not sure what this exactly means: http://wiki2.dovecot.org/MailboxFormat/dbox Quote from wiki page: ===== Expunging a message only decreases the message's refcount. The space is later freed in "purge" step. This may be done automatically within the session or later in a nightly cronjob when there's less
2006 Oct 08
2
Automatically deleting Trash a la Courier
Timo Sirainen writes: > #expire = Trash 7 Spam 30 Does the above mean one will be able to indicate multiple folders to expire? That is great! Any thoughts on having a per mailbox setting? For ISPs , one may want to give users the option to enable/disable the feature and perhaps give them a choice of dates.. ie Trash 7 days or 30 days. Spam 1 day or 7 days.
2011 Feb 19
5
Problem with expire plugin and expunge
Hello, I am running dovecot 2.0.9 with expire plugin, using the sqlite backend. The following command is executed every day by cron: doveadm expunge -A mailbox Trash savedbefore 30d I started to use the expire plugin about one month ago. Since then, using "doveadm search -A mailbox Trash savedbefore <days>" with different values for <days>, I could see every day how
2010 Jul 26
1
Dovecot 2 and expire
expire_dict = proxy::expire I found this expire_dict somewhere, might have been the 1.x wiki, but on the expire plugin page there is no mention of it. I am trying to troubleshoot why my mysql table has no entries. Do I need this line? Is that correct for using mysql? In dict {} I have expire = mysql:/etc/dovecot/conf.d/dovecot-dict-expire.conf.ext and in plugin {} i have expire_dict =
2009 Jul 23
8
expire plugin no delete 1.2.1
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. My guess that there is a problem with virtual plugin and/or shared namespace. It shouldnt be a problem with acl starting the script over cron as root am i right ? do you have any idea why it fails, is there a way to ignore all unneeded shared or
2011 Apr 02
1
Problem with expire plugin and expunge
Hello, > It looks like it expunged all the messages from Trash. Did you check if > that happened? Did it expunge too many messages? > > > Mar 18 09:50:28 joseph dovecot: imap(christoph): Debug: expire: Saving > > first message to Trash, updating timestamp to 1300438228 > > This happens, because it thinks the Trash was empty.. Is there any solution in sight for this?
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
2015 Apr 10
2
Disk space usage with mdbox
Why things happen is one of the great mysteries and joys of being a sysadmin... As for cleaning up SIS, I believe the "doveadm purge" command takes care of it. I have a daily cronjob which includes: #!/bin/sh # Permanently expunge old Trash doveadm expunge -A mailbox Trash savedbefore 2w # Optimize mdbox storage doveadm purge -A # Update fts indexes doveadm fts rescan -A -- Daniel
2018 Jul 24
1
doveadm expunge didn't clear Trash mailbox
On Mon, 23 Jul 2018, Michael Wagner wrote: > here works a dovecot 2.2.27 on a raspberrypi and the behaviour is as > expected. > > doveadm -f tab fetch -u <user> "uid date.saved" mailbox Trash > uid date.saved > 314 2018-06-23 00:35:59 > 315 2018-06-23 12:39:10 > 316 2018-06-24 10:32:43 > ... > > And I have a cron script that
2007 Feb 23
3
Move deleted to trash
Is there a way to have messages marked to be deleted move to the trash folder automatically? I have moved from courier-imap (which dovecot performs muck better) but the one feature I really need is move to trash. Is there any plugins available for this?
2012 Jun 07
1
Problems since upgrading to 2.1.6 from 2.0.20
Hello Everyone, I saw the text about the change and needing to define an inbox namespace. Everything seems to work fine except doveadm. I get the following from a cronjob that has worked well for years now. doveadm(account at example.com): Error: Syncing mailbox TRASH failed: Mailbox doesn't exist: TRASH doveadm(account at example.com): Error: Syncing mailbox TRASH failed: Mailbox
2010 Apr 13
1
Expire plugin / expire-tool redesign for doveadm
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 timeouts are or anything. There will be a new doveadm command: doveadm expunge [-u user | -A]
2019 Jul 25
3
Autoexpunge not working for Junk?
Hi all, I set up dovecot a couple of months ago and am having trouble getting autoexpunge=30d to work on my Trash and Junk mailboxes. Not sure why not because I'm not getting error messages in my log. Running "doveadm search -u <user> mailbox Junk savedbefore 30d" shows me many messages (I've got messages back to mid-May, and a couple of other users have them back to
2020 Apr 04
2
replication and spam removal ("doveadm expunge")
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> Can you provide doveconf -n and try turning on mail_debug=yes on both ends and try doveadm -Dv expunge .... </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div>
2019 Mar 06
1
doveadm expunge recursive?
2014 Feb 20
1
dovecot with maildir not using mtime on reindex
Hi. It seems that dovecot is using the current time, not a maildir file's mtime for INTERNALDATE when a message is re-indexed: $ cd Index $ rm -rf .INBOX $ cd ../Maildir/cur $ stat * File: `1392914632.P54451Q0M08633.smtpin01,S=2215,W=2249:2,' Size: 960 Blocks: 8 IO Block: 1048576 regular file Device: 36h/54d Inode: 11132959 Links: 1 Access: (0600/-rw-------)
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
2015 Apr 03
2
Disk space usage with mdbox
Shot in the dark here...haven't tried it myself so no promises. There's probably a much better way to do this but sometimes a little "brute force" helps. Theoretical steps: 1. Stop all mail processes - both SMTP and IMAP. 2. Use "doveadm sync" to backup the user mailbox, e.g., doveadm backup -u user mdbox:/tmp/usermail 3. Verify /tmp/usermail looks reasonable
2009 Oct 28
3
expire plugin + --exec-mail in 1.2.6 version
Hello list, After upgrade to dovecot version 1.2.6 I have noticed some quota malfunctions(users become often overquota). Looking at logs closely I have found that quota value resets to general dovecot-config( quota = maildir:Mailbox quota quota_rule = *:storage=500M quota_rule2 = Trash:storage=10%% ), after dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh command. The problem that