Displaying 20 results from an estimated 3000 matches similar to: "Auro expunge"
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
>
>
>
>
2020 Oct 14
0
Auro expunge
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
On 10/13/20 10:27 PM, @lbutlr wrote:
> When using autoexpunge = 14 days in, for example. The trash of junk folders, does that physically remove the messages from disk or
2020 Oct 15
0
Auro expunge
> On 13. Oct 2020, at 22.27, @lbutlr <kremels at kreme.com> wrote:
>
> 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
2016 Feb 07
6
autoexpunge - different settings for different users
I have some users where I'd like to expunge their mail at different times.
For example, I may have some users who I want to expunge everything from every folder at 30 days.
Others where I'd like to expunge everything at 90 days.
And still others where I only want to expunge mail from the Trash and Junk folders, and nowhere else.
Is there a way to do some sort of lookup for this? Or
2019 Jul 25
3
Autoexpunge not working for Junk?
Hi all,
I set up dovecot a couple of months ago and am having trouble getting autoexpunge=30d to work on my Trash and Junk mailboxes. Not sure why not because I'm not getting error messages in my log.
Running "doveadm search -u <user> mailbox Junk savedbefore 30d" shows me many messages (I've got messages back to mid-May, and a couple of other users have them back to
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
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
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
2015 Dec 22
2
Dovecot 2.2.20 autoexpunge
On Dec 22, 2015, at 2:56 PM, Teemu Huovila <teemu.huovila at dovecot.fi> wrote:
>
> The autoexpunge feature does not check the \Deleted flag.
>
> Are any errors logged in "doveadm log errors"? Could you post your complete output of doveconf -n please.
That?s what I thought. If I run expunge from doveadm manually, it will work as expected. I just never seem to get
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 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
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
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 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
2018 Jan 23
3
How to set autoexpunge rule for single user mailbox in dovecot conf?
I need to set autoexpunge rule only for one single user and one mailbox
(mail folder), so apply it only for user alice at example.com mailbox INBOX.
How can I set namespace in dovecot config, that will apply only to single
user?
--
Best regards,
Alexey Murz Korepov.
Email, Jabber: murznn at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
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
2016 Dec 13
3
mailboxes and capitalisation
Dear all,
I have set up a series of special-use mailboxes in the default namespace
differing by capitalisation of the names, mainly to capture multiple
mailboxes
with autoexpunge
namespace inbox {
...
mailbox Trash {
auto = no
autoexpunge = 30d
special_use = \Trash
}
mailbox trash {
auto = no
autoexpunge = 30d
special_use = \Trash
}
...
}