Displaying 20 results from an estimated 5000 matches similar to: "doveadm expunge problems"
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
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
>
>
>
>
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 13
4
Auro expunge
When using autoexpunge = 14 days in, for example. The trash of junk folders, does that physically remove the messages from disk or simply mark them to be removed and some other action needs to be taken?
I ask because my mail server crapped out today and I discovered a Junk folder with 490,000 messages in it, and the sa-spamd and mariadb processes died a horrible death.
Haven't had time to
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>,
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
2014 Apr 08
1
Debugging doveadm expunge
Hi,
I'm a recent convert to dovecot, and in general it is all working fine.
However, I have a number of cron jobs set up to purge old messages from
mailboxes. These don't seem to be doing what I would expect.
Is there any way of debugging this process? Some way of seeing what messages
it's checking, and why each one matches or fails to match?
For example, I'm running this:
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
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
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
2010 Dec 17
1
Problem with expunge
I'm running Dovecot 2.0.8.
The other day I tested doveadm expunge on a test Inbox with a few
messages received over the course of a day, and using savedbefore <a
few hours>, and it seemed to work.
However, today I was testing converting some maildirs over to sdbox,
and noticed odd behavior: it's deleting all messages in the specified
folder instead of just the ones matching the
2016 Dec 30
3
expunging all mailboxes
> doveadm expunge -u <user> mailbox '*' savedbefore 30d
That doesn't work for me either. The command is accepted, but the messages
are not expunged.
I guess my search/fetch will just have to return the mailbox name, in
addition to other fields, and then I'll need to loop through the mailbox
names and perform multiple expunges for each user. I understand the desire
to
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:
2016 Dec 30
2
expunging all mailboxes
> > But is there a way tell it all mailboxes for a user? For example,
> something
> > like:
> >
> > doveadm expunge -u user at domain mailbox ALL savedbefore 30d
>
> try:
> doveadm expunge -u user at domain ALL savedbefore 30d
>
> just like the example thats here:
> http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
I already tried that. Did you?
2020 Mar 17
2
doveadm expunge not expunging anymore
??????? Original Message ???????
On Tuesday, March 17, 2020 12:45 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> `doveadm search -u username\\\\@domain.com mailbox INBOX savedbefore 90`
>
> return any mails?
No it does not return any mails, although there are mails older than 90 days in the INBOX.
> How did you do the migration?
I copied over the mails with rsync
2019 Mar 06
1
doveadm expunge recursive?
2016 Dec 28
2
expunging all mailboxes
Evidently, the 'doveadm expunge' command requires a "mailbox" to be defined
in the search string.
But is there a way tell it all mailboxes for a user? For example, something
like:
doveadm expunge -u user at domain mailbox ALL savedbefore 30d
Thanks,
Michael
2010 Oct 04
1
dovecot 2.05 doveadm expunge undefined symbol: hook_client_created
HI Timo,
upgrading to 2.05
i now have
doveadm expunge -A mailbox Trash savedbefore 90d;
doveadm(root): Error:
dlopen(/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so) failed:
/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so: undefined symbol:
hook_client_created
doveadm(root): Fatal: Couldn't load required plugins
root at mail01:~/fetchmailcreator# ls -la