Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Reassessment of the problem - Indexing emails

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Thu Nov 04 2010 - 04:47:12 GMT
Troy Wical wrote on 11/3/10 7:49 AM:

> I would rather have it be http://type2.com/mail-archives/test/20, which is
> the actual message. Granted, right now that url does not work. However, that
> does not appear to be related to the fact that swish3 is indexing the message
> id as the location. I'm not sure if ReplaceRules can take care of that or
> not, but I get the feeling that something else needs to take place for it to
> link that way I would like.
> 

SWISH::Prog 0.48 and SWISH::3 0.10, both just uploaded to CPAN, should resolve
the filepath issue for mail indexed with the SWISH::Prog::Aggregator::MailFS option.

[karpet@pekmac:~/tmp/troy]$ tree
.
|-- 00
|   `-- 01
`-- 01
    `-- 02

2 directories, 2 files
[karpet@pekmac:~/tmp/troy]$ cat 00/01
Return-Path: <user@domain.com>
Mailing-List: contact mailinglist-help@domain.com; run by ezmlm
Delivered-To: mailing list mailinglist@domain.com
Received: (qmail 71965 invoked from network); 12 Feb 2002 02:33:14 -0000
Received: (QMFILT: 1.1); 12 Feb 2002 02:33:14 -0000
Received: from imo-m08.mx.aol.com (64.12.136.163)
  by pon.type2.com with SMTP; 12 Feb 2002 02:33:13 -0000
Received: from user@domain.com
        by imo-m08.mx.aol.com (mail_out_v32.5.) id w.168.8a7a97e (4012)
         for <message@domain.com>; Mon, 11 Feb 2002 21:33:08 -0500 (EST)
From: user@domain.com
Message-ID: <168.8a7a97e.2999d8e3(-at-)aol.com>
Date: Mon, 11 Feb 2002 21:33:07 EST
To: email@email.com
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: AOL 5.0 for Mac sub 28
Subject: Re: subject line

message body......


[karpet@pekmac:~/tmp/troy]$ swish3 -S mailfs -i *
2 documents in 00:00:00

[karpet@pekmac:~/tmp/troy]$ swish3 -q subject
# swish3 version 3.0.8
# Format: Native
# Query: subject
# Hits: 2
# Search time: 0.0142
1000 00/01 "Re: subject line"
 968 01/02 "Re: different subject line"
.
[karpet@pekmac:~/tmp/troy]$


In general, I think the swish3 solution is going to be your best bet for
out-of-the-box and your ezlm setup. Thanks to our earlier work on this, SWISH::3
should be more stable[0] and I think this last release should hit your issue
with the file paths.

[0] http://matrix.cpantesters.org/?dist=SWISH-3%200.09

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Nov 4 00:47:15 2010