[Mailman-Users] Setting up MHonArc as Archiver on linux

Todd Pfaff pfaff at edge.cis.mcmaster.ca
Thu Apr 6 04:36:16 CEST 2000

On Wed, 5 Apr 2000, Steve Eichblatt wrote:

> Thanks, Todd for your explicit instructions.
> That works. The file /tmp/test-archiver is created and written to with 
> 0% more /tmp/test-archiver.log
> uid=8(mail) gid=500(mailman) groups=12(mail)
> Testlist
> 0%

good, that's the sort of output i wanted you to see.

> One surprise is that "Testlist" is capitalized, while my list (and all
> my paths) is called "testlist".

yup.  here's a patch that i use with mailman 1.1 to fix this.
you could also just lower-case the list name in your script.

--- Mailman/Archiver/Archiver.py.orig   Fri Sep  3 23:16:02 1999
+++ Mailman/Archiver/Archiver.py        Tue Feb 22 08:54:06 2000
@@ -183,7 +183,7 @@
             post.SetHeader('Date', olddate)
     def ExternalArchive(self, ar, txt):
-        d = SafeDict({'listname': self.real_name})
+        d = SafeDict({'listname': self._internal_name})
         cmd = ar % d
         extarch = os.popen(cmd, 'w')

> So, am i right to guess that i should replace the program test-archiver
> with a script that calls mhonarc?

that's what i do.  see the message i sent yesterday about mhonarc, glimpse
and wilma for details.

> I am just learning all this business. Is there a "block diagram" somewhere
> that shows the flow of the program?

not that i know of.  you have to learn how to read the python code.

Todd Pfaff                         \  Email: pfaff at mcmaster.ca
Computing and Information Services  \ Voice: (905) 525-9140 x22920
ABB 132                              \  FAX: (905) 528-3773
McMaster University                   \
Hamilton, Ontario, Canada  L8S 4M1     \

More information about the Mailman-Users mailing list