Displaying 20 results from an estimated 10000 matches similar to: "Setting Recent Flag on New 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
2012 Jul 10
6
getting rid of old spam from +spam Maildir ?
I'm trying to setup per user '+spam' delivery from amavis tags, so that
each user gets any mails tagged as spam to 'spam' Maildir via +spam
Dovecot lmtp delivery.
after say 7 days I want to delete all spams older than 7 days,
if I simply delete mail files from the file system, is that a 'bad thing' ?
what is a proper way to do that, and scripts ?
for
2013 Aug 03
2
problems with doveadm
Hello,
since few weeks i have problems with the command:
doveadm expunge -A mailbox Trash savedbefore 7d
=> kernel: doveadm[11609]: segfault at 10 ip b75f146a sp bf856ad0 error 4 in
libdovecot.so.0.0.0[b7585000+c8000]
but for a single user it's works fine:
doveadm expunge -u test at vtlx.de mailbox Trash savedbefore 30h
I hope there is a solution for this.
with regards
Mario
--
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 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>,
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
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
2014 Dec 12
1
Doveadm sometimes failed "to iterate through some users" after upgrade to 2.2
> Yes, after an upgrade works fine.
Hello,
Unfortunately this issue hits again. I installed the latest stable
version 2.2.15 and got the following error
# doveadm expunge -u "^o^@dave.s484.qa-team.net" mailbox 'INBOX.Junk
Mail' SAVEDBEFORE 7d
doveadm(^o^@dave.s484.qa-team.net): Error: userdb
lookup(^o^@dave.s484.qa-team.net): Disconnected unexpectedly
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
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
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 Aug 29
2
Automatic purging of old email in all mailboxes
"Scott W. Sander" <scottwsx96 at gmail.com> writes:
> A few of the mailboxes in Dovecot receive hundreds of emails per day. I'd
> like to automatically remove all emails in all mailboxes and mailbox
> folders that were received more than 90 days prior to the received date.
> As I'm a novice Dovecot administrator, I'm not exactly sure what the best
> way
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
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
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?
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
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 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
2010 Apr 13
1
Expire plugin / expire-tool redesign for doveadm
Expire plugin / expire-tool seems annoyingly inflexible currently, so I
was thinking about a more generic redesign:
The expire plugin keeps track of the oldest message in configured
mailboxes. Its only configuration is the list of tracked mailboxes.
There's no configuration like what the expire timeouts are or anything.
There will be a new doveadm command:
doveadm expunge [-u user | -A]
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