Displaying 20 results from an estimated 7000 matches similar to: "Problem with expunge"
2018 May 30
2
expunge not removing attachments?
I have a large mail backup folder backup at backup.invalid; I'm cleaning
up daily like this:
infimum=`date -d "-4 day" +"%Y-%m-%d"`
doveadm expunge -u backup at backup.invalid mailbox INBOX SAVEDBEFORE $infimum
doveadm purge -u backup at backup.invalid
yet I see this:
# find attachments/ -type f -ctime +5 | wc -l
7522
# find attachments/ -type f | wc -l
127579
# find
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
2010 Dec 31
2
X-SAVEDATE & dync & doveadm expunge
Hello List,
After moving the mail store via dsync backup to a different location the
following command
doveadm expunge -u user mailbox "Trash" savedbefore 10d
deleted ALL mails in Trash instead of messages older than 10 days.
It looks like X-SAVEDATE is somehow wrong...
A fetch 1:* (internaldate x-savedate)
* 1 FETCH (INTERNALDATE "28-Dec-2007 14:49:58 +0100" X-SAVEDATE
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 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 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
> On 17 Mar 2020, at 15.40, mabi <mabi at protonmail.ch> wrote:
>
> ??????? Original Message ???????
> On Tuesday, March 17, 2020 2:18 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
>
>> So doveadm fetch -u admin\\@domain.tld "mailbox date.saved" UID 130863
>>
>> Aki
>
> This is the ouput:
>
> mailbox: INBOX
>
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
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
2011 Sep 27
3
Expunge Old Email
For those of you running mailservers on CentOS 6, what are the
suggestions for programs to expunge old email? For instance, deleting
email from a Spam folder that is 2 weeks old or older.
I see that Dovecot does have a solution, but was wondering about what
others have landed on.
My systems are basically Postfix, Dovecot using Maildir.
Thanks,
John Hinton
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
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>,
2012 Mar 25
3
Many messages clustered around the same date.saved value
Subject: Different user messages clustered around the same date.saved value
After updating dovecot to 2.1.3, I can now use "doveadm expunge -A ..."
to iterate through all user trash folders and expunge old messages.
However, I noticed a strange thing: querying what would have been deleted
doveadm -ftab fetch -A "date.saved" mailbox Trash savedbefore 7d
showed many
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
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:
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
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 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?
2011 Sep 15
1
movming mail out of alt storage
I moved some mail into the alt storage:
doveadm altmove -u johnd at example.com seen savedbefore 1w
and now I want to move it back to the regular INBOX, but I can't see how
I can do that with either 'altmove' or 'mailbox move'.
thanks!
micah
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: