Displaying 20 results from an estimated 10000 matches similar to: "expunging all mailboxes"
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?
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
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
2016 Dec 29
0
expunging all mailboxes
On 28-12-16 02:31, Michael Fox wrote:
> 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
try:
doveadm expunge -u user at domain ALL
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
2016 Dec 30
0
expunging all mailboxes
On 12/29/2016 10:23 PM, Michael Fox wrote:
>>> 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:
>>
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
>
>
>
>
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
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
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
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
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 31
0
expunging all mailboxes
On 31-12-16 07:53, Michael Fox wrote:
>> 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
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
2010 Oct 19
2
doveadm-expunge not expunging when ran from cron
Hi!
I noticed that this command ... :
for USERNAME in ${USERS};do
/usr/local/bin/doveadm -Dv expunge -u "${USERNAME}" mailbox sa.* SAVEDBEFORE 1d
done
... does not expunge mails if ran from crontab. It shows in the Debug
output what would have been done, but it doesn't really expunge those
mails. This command runs daily, and every day the list of expunged mails
(in the Debug
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 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
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
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
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