search for: savedbefore

Displaying 20 results from an estimated 134 matches for "savedbefore".

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 14
2
unexpected behaviour of search queries with mixed AND and OR
...C OR condA \)" which is more then suprising. The query "\( condB condC OR condA \)" should either throw an error like "\( condA OR condB condC \)" or deliever the result of "\( \( condB condC \) OR condA \)" Example: doveadm -f flow fetch -u USER guid \( savedbefore 21d OR seen savedbefore 5d \) | wc -l Fatal: Use parenthesis when mixing ANDs and ORs 0 doveadm -f flow fetch -u USER guid \( seen savedbefore 5d OR savedbefore 21d \) | wc -l 63690 doveadm -f flow fetch -u USER guid \( seen OR savedbefore 5d OR savedbefore 21d \) | wc -l 63690 doveadm -f...
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
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 mailbox '*' savedbefore 2d > -- no...
2016 Dec 14
0
unexpected behaviour of search queries with mixed AND and OR
...; > > The query "\( condB condC OR condA \)" should either throw an > error like "\( condA OR condB condC \)" or deliever the result > of "\( \( condB condC \) OR condA \)" > > > > > Example: > > doveadm -f flow fetch -u USER guid \( savedbefore 21d OR seen savedbefore 5d \) | wc -l > Fatal: Use parenthesis when mixing ANDs and ORs > 0 > > doveadm -f flow fetch -u USER guid \( seen savedbefore 5d OR savedbefore 21d \) | wc -l > 63690 > > doveadm -f flow fetch -u USER guid \( seen OR savedbefore 5d OR savedbefore...
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 --------- Das Leben ist bezaubernd, man muss es nur durch die...
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 30d doveadm(fakessh): Error: userdb lookup: connect(/var/run/dovecot//auth-userdb) failed: Permission denied (euid=514(fakessh) egid=100(users) missing +r perm: /var/run/dovecot//auth-u...
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 use...
2010 Aug 31
1
doveadm expunge -A mailbox Trash savedbefore 30d iterate_query LDAP
hi everyone after doing this in shell #/usr/local/dovecot-2.0.1/bin/doveadm expunge -u tmihal mailbox INBOX savedbefore 1d everything is working as it should but ... #/usr/local/dovecot-2.0.1/bin/doveadm expunge -A mailbox INBOX savedbefore 1d doveadm(root): Error: userdb list: Disconnected unexpectedly doveadm: Error: Failed to iterate through some users #cat /etc/dovecot2/dovecot-ldap.conf tls = no hosts...
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 -- ???????
2018 Jul 18
3
doveadm expunge didn't clear Trash mailbox
...nd 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 directory: /usr/lib/dovecot/modules/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so: undefined symbol: acl_lookup_dict_iterate_visible_next (this is usually intentional, so just i...
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? For me, expunge returns an error that says the mailbox must be listed. Also, that ex...
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 it stopped working. I've also noticed that it does delete matching rows in the expires datab...
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 performed...
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 expensive operations. For example, just doing the Spam expunge takes 30 minutes (or more, depending on the load) of heavy disk operations, on each machine it i...
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
2020 Oct 14
1
Auro expunge
...ou 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 > > > > 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 simply >> mark them to be rem...
2010 Aug 27
2
doveadm expunge -A mailbox Trash savedbefore 30d
In the shell: ,doveadm(root): Error: User listing returned failure,doveadm: Error: Failed to iterate through some users In the log: dovecot: auth: Error: sql: Iterate query failed: Table 'mail.users' doesn't exist (using built-in default iterate_query: SELECT username, domain FROM users) Why is dovecot trying to "select username, domain from users" when the
2017 Aug 30
2
Segmentation fault with doveadm search
Hi, We have a Ubuntu 14.04 server with dovecot 2.2.9 If I try to run /usr/bin/doveadm search -u email at exmaple.com mailbox Junk savedbefore 30d It will dump a core file. We have a similar config on an other server and there is no problem there. Any ideas how to prevent the core dump? root at triws2:~# gdb --args doveadm search -u email at example.com mailbox Junk savedbefore 30d Reading symbols from doveadm...Reading symbols from...
2013 Sep 06
2
doveadm expunge problems
.../home/mail/vmail1/mydomain.fr/n/i/c/nicolas-2013.09.05.14.30.49/Maildir I want to delete mails that are, let's say, 1day old from the "Junk" folder. (I put the mail I changed the date in it). I run this command : doveadm -Dv expunge -u nicolas at mydomain.fr mailbox "Junk" savedbefore 1d The mail is still in the "Junk" folder, and I have this output : root at mail:/home/mail/vmail1# doveadm -Dv expunge -u nicolas at mydomain.fr mailbox "Junk" savedbefore 1d doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot/modules doveadm(root): Debug:...