[Mailman-Developers] Puzzled; Selective no-archive patch.

Jon Earle je_mmd at kronos.honk.org
Sun Feb 9 18:20:11 EST 2003


Working on a patch to MM 2.1 (easily patches 2.1.1 too), that will
selectively not archive messages but am having trouble getting them to not
go into the archive.  Link to patch is here:

http://kronos.honk.org/~jearle/files/noarchive.patch

Essentially, I run a list where the members like to email pics and other
funnies to each other.  This is fine with me, but I'd rather they not go
into the archive for obvious reasons.  I made a change to the moderation
screen to add a checkbox to not archive the particular message, or in the
message list screen, to not archive all of them.  Obviously, the approval
of the moderator would be required to make the noarchive option work.

I think I've got the various pieces in place in the admin screen, and I
have the message metadata including a 'noarchive' entry.  I then theorized
that my next step would be to fiddle with Handlers/ToArchive.py (part of
the qrunner?).  I thought that by adding a check for the 'noarchive' entry
in msgdata nr the top of the process method would do the trick, but no.
Did a slight mod to Approve.py and still no luck.  Not sure what do now
and would appreciate any advice given.

I've worked with C for a few years, learned Perl last Nov and this is my
first foray into Python.

Cheers!
Jon

---
Jon Earle

SAVE FARSCAPE http://www.savefarscape.com/




More information about the Mailman-Developers mailing list