Displaying 20 results from an estimated 100000 matches similar to: "Problem with expire plugin and expunge"
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?
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
2010 Sep 21
2
doveadm-expunge debug message clarifications
Hi!
I have some questions about doveadm-expunge's debug messages.
# /usr/local/bin/doveadm -Dv expunge -u <user> mailbox 'sa.*' SAVEDBEFORE 6h
doveadm(root): Debug: Loading modules from directory: /usr/local/lib/dovecot
doveadm(root): Debug: Module loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so
doveadm(root): Debug: Module loaded:
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
2018 Jul 18
3
doveadm expunge didn't clear Trash mailbox
Hi,
Why did my 'doveadm expunge' command not clear the Trash out of a mailbox?
The oldest messages was put into the Trash on the 26th June 2018 as shown in the file timestamp.
-rw------- 1 vmail mail 33056 Jun 26 16:46 1530031582.M768773P18242.mx10,S=33056,W=33510:2,RS
# doveadm -D expunge -u testuser at example.org mailbox Trash savedbefore 2d
Debug: Loading modules from
2018 Jul 18
3
doveadm expunge didn't clear Trash mailbox
And here is mine. All dates are todays!
# doveadm -f tab fetch -u test at example.org "uid date.saved" mailbox Trash
uid date.saved
6829 2018-07-18 06:04:50
6830 2018-07-18 11:10:13
6831 2018-07-18 16:16:15
6832 2018-07-18 16:16:15
6833 2018-07-18 08:22:55
6834 2018-07-18 16:16:15
6835 2018-07-18 08:47:10
6836 2018-07-18 09:12:11
6837 2018-07-18 09:53:31
6838 2018-07-18 11:03:31
SNIP a
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]
2016 Dec 20
2
doveadm expunge -A Error: Dictionary commit failed
Il 19/12/2016 14:28, Aki Tuomi ha scritto:
>
>
> On 19.12.2016 15:25, Alessio Cecchi wrote:
>> Hi,
>>
>> with the latest dovecot-ee version (dovecot-ee-2.2.26.1-10) if I run
>> ?doveadm expunge -A mailbox Spam savedbefore 30d? dovecot an error:
>>
>> doveadm: Error: dict-client: Commit failed: Dict server timeout: No
>> input for 1916.209 secs (1
2012 Feb 17
1
expunging
I am having trouble scaling some regular dovecot cleanup operations on
our servers. On a daily basis, I'm wanting to do this on each server,
which contains its own isolated set of user storage:
/usr/bin/doveadm expunge -A mailbox Trash* savedbefore 21d
/usr/bin/doveadm expunge -A mailbox Spam savedbefore 7d
/usr/bin/doveadm expunge -A mailbox Sent savedbefore 120d
but these are a very
2016 Dec 31
3
expunging all mailboxes
> Huh, it certainly did for me, although I used "all" instead of
> "savedbefore 30d" since I just wanted to empty the trash. What
> version of Dovecot? Mine is 2.2.27.
Well, not for me.
doveadm search -u user at domain ALL savedbefore 2d
-- returns some messages
doveadm expunge -u user at domain mailbox '*' savedbefore 2d
-- nothing shown, but no error
doveadm
2011 Apr 06
2
a strange doveadm behavior
hi timo
very very good job you realize for the community
here I have a very strange problem with doveadm
I actually use a configuration file parameters in which the parameters
are placed carefully
My problem appears when I run this command
doveadm expunge -A mailbox Trash savedbefore 30d
i post command and result to the terminal
[fakessh at r13151 ~]$ doveadm expunge -A mailbox Trash savedbefore
2015 Sep 01
2
'doveadm expunge' with -A and userdb { driver = passwd }
I'm expunging mail in my crontab like this:
doveadm search -u user1 mailbox INBOX.Trash savedbefore 30d
doveadm search -u user2 mailbox INBOX.Trash savedbefore 30d
doveadm search -u user3 mailbox INBOX.Trash savedbefore 30d
...
I'd rather do this:
doveadm search -A mailbox INBOX.Trash savedbefore 30d
but I'm told not to:
"If the -A option is present, the command will be
2020 Mar 17
2
doveadm expunge not expunging anymore
Hello,
I have migrated my mailbox server from Dovecot 2.1.7 (Debian 7) to Dovecot 2.3.4 (Debian 10) and have a crontab setup in root to daily delete all mails in the INBOX of a specific user which are older than 90 days like this:
/usr/bin/doveadm expunge -u username\@domain.com mailbox INBOX savedbefore 90d
Unfortunately this does not work anymore. I also tried to run the command manually as
2016 Dec 19
4
doveadm expunge -A Error: Dictionary commit failed
Hi,
with the latest dovecot-ee version (dovecot-ee-2.2.26.1-10) if I run
?doveadm expunge -A mailbox Spam savedbefore 30d? dovecot an error:
doveadm: Error: dict-client: Commit failed: Dict server timeout: No
input for 1916.209 secs (1 commands pending, oldest sent 0.000 secs ago:
C1) (reply took 0.000 secs)
doveadm: Error: expire: Dictionary commit failed
Probably also "doveadm quota
2020 Oct 14
1
Auro expunge
Hi
But if you have more users (200K) that is a problem with that scripts
On 14.10.2020 16:28, Adrian Minta wrote:
> The cron option is the safest.
>
> Run each night something like this:
>
> #!/bin/bash
>
> DOVEADM="/usr/bin/doveadm";
>
> $DOVEADM expunge -A mailbox Trash savedbefore 30d
> $DOVEADM expunge -A mailbox Spam savedbefore 30d
>
>
>
>
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
2013 May 19
3
Error: dict client sent broken reply
I've been mucking about, experimenting with the expire plugin and using a
dictionary. I've got the iteration query working when I do a normal
expunge using:
doveadm expunge -A mailbox "INBOX.Trash" savedbefore 1w
and expunging works as expected. However, I've got over 12,000 accounts
on this server, so I was hoping using the expire plugin to could help out.
I've
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
2020 Mar 17
2
doveadm expunge not expunging anymore
??????? Original Message ???????
On Tuesday, March 17, 2020 11:46 AM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> Try`doveadm -Dv expunge -u username\\@domain.com mailbox INBOX savedbefore 90`
>
> It might give insight what goes wrong.
Here would be the output but I still can't see where the problem is:
Debug: Loading modules from directory: /usr/lib/dovecot/modules
2011 Mar 16
3
doveadm expunge info message in std.error
Hello
This command
doveadm expunge -u "user at domain" mailbox ".namespace/*" savedbefore 7d
writes these messages to std.error
doveadm(user at domain): Info: expunge: box=.namespace/INBOX, uid=5932,
msgid=<E1Puxwf-0001fD-Si at hostname>, size=1824
doveadm(user at domain): Info: expunge: box=.namespace/INBOX, uid=5933,
msgid=<E1Puy0N-0001fI-No at hostname>,