[Mailman-Users] Reducing disk footprint was: FW: Can the list prefix placed at the end of the subject line?

Mark Sapiro mark at msapiro.net
Fri Nov 20 11:27:07 EST 2015

On 11/19/15 12:29 PM, Marino, Dominic wrote:
> I just need to know which files on the apache/unix server can be deleted to free some space(ie log files) being we are 98% used.  

Please don't hijack existing threads. To start a new topic create a new
post which is not a reply. Do not reply to an existing post even if you
change the subject.

For your question, there are several options.

1) You can remove all the log files in mailman/logs and then run
Mailman's 'bin/mailmanctl reopen'. You can also set up a reasonable
logrotate script to rotate the logs and not keep too much.

2) You can do things to reduce the archives footprint. You can remove
and stop creating the .txt.gz files as they are redundant and not needed.
a) Make sure you are not overriding the Defaults.py setting
'GZIP_ARCHIVE_TXT_FILES = No' in mm_cfg.py.
b) Remove or comment out the nightly_gzip job in Mailman's crontab.
c) Then you can remove all the archives/private/*/*.txt.gz files and
they won't come back.
The links on archive TOC pages may still point to the .txt.gz files, but
this should self correct with the first post to the list.

You can also turn off archiving for selected lists and remove the
archives/private/LISTNAME* directories for that list.

3) You can remove the messages/LC/ and templates/LC/ directories for the
languages (Code LC) you don't want to support.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list