Hi Mark ā€“ prior to running this prune script, do I need to stop postfix first?



On 01/15/2018 11:44 AM, Dang Tran wrote:

> Hi ā€“ Iā€™d like to setup a retention policy to delete all archives older than

> 1yr.  please help me to setup this.  thanks





See the script at <https://www.msapiro.net/scripts/prune_arch> (mirrored

at <https://fog.ccsf.edu/~msapiro/scripts/prune_arch>).



You could run this periodically via cron to do what you want. The down

side of this is each time you run it, the messages in the archive will

be renumbered and prior saved URLs to archived messages will no longer work.



--

Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,

San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------

Mailman-Users mailing list Mailman-Users@python.org

https://mail.python.org/mailman/listinfo/mailman-users

Mailman FAQ: http://wiki.list.org/x/AgA3

Security Policy: http://wiki.list.org/x/QIA9

Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Unsubscribe:

https://mail.python.org/mailman/options/mailman-users/archive%40jab.org



-------
Best Regards,
Dang

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to