Hi,

I'm observed this behavior too. To solve, I used a script on cron, like
this, to maintain 2 years of archive:

[...]
year=`date --date='2 years ago' +%Y`
month=`date --date='last month' +%m`
data_corte="${ano}${mes}"
path_private='/usr/local/mailman/archives/private'

find "${path_private}" -depth -regextype posix-egrep -regex
".*/attachments/${data_corte}.*/.*" -delete

Running this script monthly solve my problem of space.


Best Regards,

Juliano Alves Guidini
Analista de Sistemas
USP - STI -  CeTI-SP - DVTIN - SCTIN - SCTS


Em ter., 22 de dez. de 2020 às 11:49, Stephen J. Turnbull <
turnbull.stephen...@u.tsukuba.ac.jp> escreveu:

> Ralf Hildebrandt writes:
>
>  > Today I issued "prune_arch -l flohmarkt -d 30" and wondered about
>  > the immense size of the corresponding archive directory
>  > archives/private/flohmarkt
>
>  > Shouldn't prune_arch also clean out the "attachments" directory?
>  > (mailman-2.1.34)
>
> Probably, but that's up to Mark (and I'm pretty sure that's one of his
> personally-maintained scripts rather than one distributed by Mailman).
> ------------------------------------------------------
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-users.python.org/
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> https://www.mail-archive.com/mailman-users@python.org/
>     https://mail.python.org/archives/list/mailman-users@python.org/
>
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to