On Fri, 2008-04-18 at 02:45 +0900, Stephen J. Turnbull wrote: > Darren G Pifer writes: > > > The issue was no such much the moderator had to approve the message > > because of the size but the fact that the e-mail messages to the list > > are rather large. > > This stripping would be almost trivial except that it's difficult to > predict what the URL would be (archiving is done asynchronously). If > you can predict what the URL will be, then I believe it would be a few > lines of Python to demote the body (ie, the log's text) to a MIME part > before passing it to the archiver. At that point you use the > stripping function in the archiver. Finally, after the archiver gets > it, you remove that MIME part, too, and substitute the URL. > > If logs are submitted to the system at reasonably long intervals, it > should be possible to predict the URL with sufficient accuracy.
Unfortunately, the logs are sent once a hour. The frequency of this is so the operators can review the log for certain information so they can act on it. We may be able change this to 2 hours but I need to check with the head of operations. The operators also get a printout of the log, too, so maybe the frequency can be changed for e-mail only. > I gather you're not in a hurry, maybe I can take a hack at this over > the weekend. It would be helpful to know the pattern with which logs > are generated at your site. I don't have time myself to work something up so I am dependent on others for this. If you can do this, this will help us out greatly and I suppose others who could use this functionality. Thanks, Darren ODU ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp