[Mailman-Developers] Attachments being scrubbed even for lists where 'archive' is set to No

Bernie Innocenti bernie at fsf.org
Wed Apr 20 18:34:19 CEST 2011


This is Mailman 2.14, but the bug was also present in ancient releases.

We have a list configured like this:
  archive=No
  archive_private=Yes

The global settings are:
  DEFAULT_ARCHIVE=On
  DEFAULT_ARCHIVE_PRIVATE=0
  ARCHIVE_TO_MBOX=2
  PRIVATE_EXTERNAL_ARCHIVER=No

Even though no html archives are being generated, Mailman still creates
the attachments directory for this list, and saves all attachments in
it.

I've traced the code responsible for this to ArchiverMailbox.__init__(),
invoked by HyperArchive.processUnixMailbox(). I couldn't find where
Mailman uses the perl-list 'archive' flag. Only the global
DEFAULT_ARCHIVE seems to be considered.

-- 
Bernie Innocenti
Systems Administrator, Free Software Foundation



More information about the Mailman-Developers mailing list