Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2008-07-31 14:11:02
Size: 4852
Editor: dunxd
Comment:
Revision 4 as of 2015-03-05 01:48:53
Size: 4615
Editor: JimTittsler
Comment: lists wikification
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/14352543 #pragma page-filename DOC/versions/4030578
Line 3: Line 3:
Line 13: Line 14:
{{{
Line 15: Line 15:
}}}
Line 19: Line 18:
{{{
Line 21: Line 19:
}}}
Line 23: Line 20:

{{{
  [https://sourceforge.net/tracker/?func=detail&atid=300103&aid=820723&group_id=103]
}}}
Also see https://bugs.launchpad.net/mailman/+bug/558089
Line 30: Line 24:
{{{
Line 32: Line 25:
}}}
Line 34: Line 26:

{{{
  [http://sourceforge.net/tracker/index.php?func=detail&aid=444884&group_id=103&atid=300103]
}}}
Also see https://bugs.launchpad.net/mailman/+bug/266554
Line 41: Line 30:
- First setup an account which is subscribed to the various lists you want to archive.

-
Next setup the scripts so that mail received on that address is passed to MHonArc (don't bother with MHonArc RCs at this point) such that the messages are archived into the directories etc as you wish. I built/automated most of this section with various procmail recipes in a way that's not portable or particularly useful to anyone else (I stash all messages locally in MH folders and then run MHonArc against those folders etc). You'll need to build something that fits what you want to do.

-
Finally, build RCs that archive the messages in the manner you want and plug those RCs into your MHonArc invocation in the scripts you just wrote.
 1. First setup an account which is subscribed to the various lists you want to archive.
 2. Next setup the scripts so that mail received on that address is passed to MHonArc (don't bother with MHonArc RCs at this point) such that the messages are archived into the directories etc as you wish. I built/automated most of this section with various procmail recipes in a way that's not portable or particularly useful to anyone else (I stash all messages locally in MH folders and then run MHonArc against those folders etc). You'll need to build something that fits what you want to do.
 3. Finally, build RCs that archive the messages in the manner you want and plug those RCs into your MHonArc invocation in the scripts you just wrote.
Line 49: Line 36:
1) Subscribe archiver@yourdomain.com to the list. 2) Configure your MTA on archiver@yourdomain.dom to use procmail as the LDA 3) Write a procmail recipe which filters out the list posts (and ignores SPAM, password reminders, etc) and then invokes your archiver (eg MHonarc) on the message.  1. Subscribe archiver@yourdomain.com to the list.
2. Configure your MTA on archiver@yourdomain.dom to use procmail as the LDA
3. Write a procmail recipe which filters out the list posts (and ignores SPAM, password reminders, etc) and then invokes your archiver (eg MHonarc) on the message.
Line 59: Line 48:
{{{
ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/
}}}
  ftp://ftp.kanga.nu/Kanga.Nu/WebArchives/
Line 65: Line 52:
{{{
ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/PHP/listroot.php
}}}
  ftp://ftp.kanga.nu/Kanga.Nu/WebArchives/PHP/listroot.php
Line 71: Line 56:
{{{
  
http://www.kanga.nu/archives/MUD-Dev-L/
}}}
`http://www.kanga.nu/archives/MUD-Dev-L/` (URL no longer available)
Line 77: Line 60:
{{{
ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/scripts/
}}}
  ftp://ftp.kanga.nu/Kanga.Nu/WebArchives/scripts/
Line 83: Line 64:
{{{
ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives/scripts/moveQuarters
}}}
  ftp://ftp.kanga.nu/Kanga.Nu/WebArchives/scripts/moveQuarters
Line 91: Line 70:
{{{
  
http://www.kanga.nu/archives/
}}}
`http://www.kanga.nu/archives/` (URL no longer available)
Line 97: Line 74:
{{{
  
http://www.kanga.nu/archives/MUD-Dev-L/
}}}
`http://www.kanga.nu/archives/MUD-Dev-L/` (URL no longer available)
Line 105: Line 80:
{{{
  
http://www.kanga.nu/archives/MUD-Dev-L/2001Q3/msg00745.php
}}}
`http://www.kanga.nu/archives/MUD-Dev-L/2001Q3/msg00745.php` (URL no longer available)
Line 111: Line 84:
{{{
ftp://ftp.kanga.nu/pub/Kanga.Nu/WebArchives.old/
}}}
  ftp://ftp.kanga.nu/Kanga.Nu/WebArchives.old/
Line 117: Line 88:
''Last changed on Fri Jan 25 00:23:56 2008 by'' jidanni
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>
This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

4.4. How can I use an external archiver with Mailman like MHonArc?

There are two basic ways to use an external archiver with Mailman:

1) You can configure Mailman to use the external archiver instead of the internal pipermail.

2) You can subscribe an address to each list you want archived which archives all mail sent to it.

Configuring Mailman to use an external archiver instead of the internal Pipermail is slightly finicky. A HOWTO for this was posted to the mailman-developers list and should be copied in here once someone finds it.

The MHonArc mailing list also had a copy posted:

A maintained patch which fully integrates Mailman with MHonArc, eliminates much of the external archiver setup work and supports selection of MHonArc or built-in-pipermail for archiving on a per-list basis (rather than for the whole site) is available here:

Also see https://bugs.launchpad.net/mailman/+bug/558089

This MHonArc integration patch is also compatible with the Mailman/htdig integration patch for archive search available here:

Also see https://bugs.launchpad.net/mailman/+bug/266554

One (possible) arrangement for using an archiving address is:

  1. First setup an account which is subscribed to the various lists you want to archive.
  2. Next setup the scripts so that mail received on that address is passed to MHonArc (don't bother with MHonArc RCs at this point) such that the messages are archived into the directories etc as you wish. I built/automated most of this section with various procmail recipes in a way that's not portable or particularly useful to anyone else (I stash all messages locally in MH folders and then run MHonArc against those folders etc). You'll need to build something that fits what you want to do.
  3. Finally, build RCs that archive the messages in the manner you want and plug those RCs into your MHonArc invocation in the scripts you just wrote.

Or more specifically:

  1. Subscribe archiver@yourdomain.com to the list.

  2. Configure your MTA on archiver@yourdomain.dom to use procmail as the LDA

  3. Write a procmail recipe which filters out the list posts (and ignores SPAM, password reminders, etc) and then invokes your archiver (eg MHonarc) on the message.

J C Lawrence (claw@kanga.nu) uses a slight variation on this arrangement. His notes:

As archiving is CPU and disk I/O expensive I don't do it at the time the message is received, but via a cron job. This reduces system contention and allows work to be scheduled when the system is less busy.

Some documentation and references on my system:

My entire setup except for the procmail recipes can be found here:

In particular the following file does the automatic index generation:

As seen (for instance) here:

http://www.kanga.nu/archives/MUD-Dev-L/ (URL no longer available)

My procmail recipes save to MH folders, so the make* scripts under here:

do the work of building the MHonArc archives off those MH folders, and:

is run via cron and does the symbolic link swizzling for the various archiving periods (trivial to change for months, week, or other periods)..

As for what it all looks like when running, see the various pages under here:

http://www.kanga.nu/archives/ (URL no longer available)

With the cannonical example of:

http://www.kanga.nu/archives/MUD-Dev-L/ (URL no longer available)

The above setup is PHP4 specific and needs the template supports from PHPLIB. The main reason for using the PHP aspects are that you get the ability to reply to archives messages on the web.

An example of a message, posted via the web-reply feature and then archived by the above code:

http://www.kanga.nu/archives/MUD-Dev-L/2001Q3/msg00745.php (URL no longer available)

If you need a setup which isn't reliant on PHP (and you don't need/want the ability to reply to list messages on the web), you can find my older RCs here:

No PHP required and generate a very similar look'n'feel to my current setup.

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.04 How can I use an external archiver with Mailman like MHonArc? (last edited 2015-03-05 01:49:32 by JimTittsler)