I've got a nightly cron job that runs a bash script to delete old messages
from specific folders
doveadm expunge -A mailbox complete savedbefore 7d
doveadm expunge -A mailbox failed savedbefore 7d
doveadm expunge -A mailbox % savedbefore 60d
this deletes anything, in any mailbox, older than 60 day
On 8.8.2013, at 13.00, Răzvan Sandu wrote:
> Pe 7 Aug 2013 11:35, Timo Sirainen a scris:
>
>>> Thank you, but doveadm expunge will ask for the mailbox name:
>>>
>>> [root@mail1 ~]# doveadm expunge -u john@example.com ON
>>> 2013-08-07 doveadm(root): Fatal: expunge: To avoid accidents,
>>> s
Pe 7 Aug 2013 11:35, Timo Sirainen a scris:
Thank you, but doveadm expunge will ask for the mailbox name:
[root@mail1 ~]# doveadm expunge -u john@example.com ON
2013-08-07 doveadm(root): Fatal: expunge: To avoid accidents,
search query must contain MAILBOX in all search branches
Add: mail
On 7.8.2013, at 11.22, Răzvan Sandu wrote:
> On Tue, 06 Aug 2013 19:18:15 +0200, Pascal Volk a scris:
>
>> There is also the -A option, see
>> http://wiki2.dovecot.org/Tools/Doveadm/Expunge#section_options
>
>
> Thank you, but doveadm expunge will ask for the mailbox name:
>
> [root@mail1 ~]#
On Tue, 06 Aug 2013 19:18:15 +0200, Pascal Volk a scris:
> There is also the -A option, see
> http://wiki2.dovecot.org/Tools/Doveadm/Expunge#section_options
Thank you, but doveadm expunge will ask for the mailbox name:
[root@mail1 ~]# doveadm expunge -u john@example.com ON 2013-08-07
dovead
On 08/06/2013 06:31 PM Răzvan Sandu wrote:
> …
> Implementing filesystem quotas is not an option because a. presently,
> all virtual users share same UID/GID on the server and b. administrative
> reasons (the "full quota" situation may occur unexpectedly and this is
> not tolerable in corporate
Hello,
Would you please help me solve the following case?
My (CentOS) server runs dovecot and allows both POP3 and IMAP service.
Users are virtual users (no home directories), with messages stored in
Maildir directories under /var/spool/mail/vhosts/example.com/username
Some of them use mobil