Thanks for the suggest Alexander,

For future mnoGoSearch, I've done a bit of research and figured out how
it might be 'easiest' to implement better mailing list (most likely only
ezmlm and Mhonarc) support to MnoGo:

I begin by using a command line script that that archives my
mailinglist:

/usr/local/bin/mhonarc /home/ml/mylist/archive/[0-9]* -nomailto
-nosaveresources -spammode -subsort -outdir /home/ml/htmlarchives/

For those who don't use mhonarc I'll explain just in case you are
interested.
As it states in the FAQ's we use /home/ml/mylist/archive/[0-9]* to grab
the individual e-mails out of ezmlm since ezmlm creates an individual
file for each e-mail, with a maximum of 99 messages per directory.
Directory 1 has messages 0 to 99 in it, Directory 2 has message 0 [100]
to 99 [199] in it... etc.

I hate spam bots, so to make it more difficult I used the -nomailto and
-spammode to prevent e-mail addresses from appearing.  The
-nosaveresources is just to save space and cut down on the size of the
mhonarc database.  The important one for those who use this program is
-subsort it makes most of the threads stay together, instead of them
jumping around like it is so possible with mhonarc and it's handling of
the ezmlm directories.

So totally bored and given up reading yet?  Well here's the information
you will be interested in to prevent the junk filling up the mnoGoSearch
database.  Please note I have made the changes in mhamain.pl file
directly due to the fact I can't be bothered with rc files <evil> and I
only use the mhonarc program for one thing.

Open mhamain.pl (most likely installed in your perl lib directory
Locate line 1017 or search for <!--X-Body-Begin--> and put <noindex> in
before that line.
Locate line 1106 or search for <!-X-Body-of-Message--> and put
</noindex> below the line.  
Locate line 1109 or search for <!-X-Body-of-Message-End--> and put
<noindex> in before that line.
Locate line 1191 or search for <!-X-User-Footer-End--> and put
</noindex> in below that line.

Now run your archiving script and then allow mnoGoSearch to archive your
mailing list.  Now the actual message of your mailing list e-mail will
be archived and displayed in the search instead of the [Subject
Prev][Subject Next]...

I hope this helps someone else ;)


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Alexander Barkov
Sent: Sunday, January 20, 2002 2:24 AM
To: [EMAIL PROTECTED]; David Coley
Subject: Re: Archiving whole body of e-mail only to mnogo

   Hello!

indexer understands these types of comments:

<!--UdmComment-->   ...  <!--/UdmComment-->

and

<NOINDEX>  ... </NOINDEX>

It is possible to configure Mhonarch so it will
format html pages in this style:

<html>
<body>

   <NOINDEX>

     Mhonarch headers like [Date][Thread] etc

   </NOINDEX>

   <!--X-Body-of-Message-->

     Message Body

   <!--X-Body-of-Message-End-->

    <NOINDEX>

      Mhonarch footers

    </NOINDEX>
</body>
</html>

If it's possible, just try it and send configuration
notes to the list, we'll add them into our documentation.


Anyway, I understand that you might want to index a remote
mail archive without having an access to configure it.
I think, we should add this to our TODO:
   an option for Server indexer.conf command
   to tell indexer that we are in Mhonarch indexing
   mode, so it'll ignore all unrelated headers/footers.

Regards!

David Coley wrote:

> Hello,
> 
> I've been using mnoGoSearch with my programming mailing list for about
2
> years.  The mailing list is run on a qmail-ezmlm based system using
> Mhonarch to create the html files from the mailing list.  What my
users
> have requested is that when they search the actual e-mail text shows
up
> instead of the [Date][Thread] ... etc.
> 
> I know that Mhonarch places <!--X-Body-of-Message--> and
> <!--X-Body-of-Message-End--> to start and finish the actual body of
the
> e-mail.  Is it possible to get Mhonarch to just archive that part of
the
> message (still of course taking the Subject from the top part).
> 
> Thanks for any help you can provide.
> 


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to