Displaying 20 results from an estimated 7000 matches similar to: "expunging"
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 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 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
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
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 14
2
unexpected behaviour of search queries with mixed AND and OR
Hello,
I found out an unexpected behaviour of search queries with mixed
"AND" and "OR".
With search query "\( condA OR condB condC \)" I get an error:
Fatal: Use parenthesis when mixing ANDs and ORs
if I switch left and right OR-part and use the query
"\( condB condC OR condA \)"
I get a result, but it is not the expected result of the query
"\(
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
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 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
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
>
>
>
>
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:
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>,
2011 May 28
5
Segmentation fault again
Hi,
I have the following report after a cron job again?
/root/tools/expunge: Zeile 3: 4869 Speicherzugriffsfehler doveadm
expunge -A mailbox Spam savedbefore 5d
/root/tools/expunge: Zeile 5: 4915 Speicherzugriffsfehler doveadm
expunge -A mailbox Papierkorb savedbefore 4d
See the attachment.
Any ideas greatly appreciated. Thanks
--
Mit freundlichen Gr??en,
with kind regards,
Jim Knuth
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
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 Oct 28
1
Doveadm-Expunge v2.0.5
Hello
Few questions regarding Doveadm-Expunge.
1.
I have lazy expunge configure with this name space: .EXPUNGED
Storage type: mdbox
doveadm -Dv expunge -u user at domain mailbox ".EXPUNGED/*" savedbefore 7d
I get some interesting outputs.
doveadm(user at domain): Debug: expunge: box=.EXPUNGED/INBOX/mon uid=791
doveadm(user at domain): Debug: expunge: box=.EXPUNGED/INBOX/mon
2013 Sep 06
2
doveadm expunge problems
Hello there,
I'm trying to use the doveadm expunge function, but it doesn't seems to
work..
I have installed a mail test server using iredmail, Dovecot and postfix
using mysql for authentications.
I sent a email to this server, and change the timestamp using touch.
the mail boxes are as follow :
/home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49/Maildir
I want to delete
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 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
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