![]()
From: Jim Lill (jpl@vectorbd.com)
Date: Wed May 24 2000 - 20:38:09 CDT
On Tue, 23 May 2000, Ricardo Sazima wrote:
>
> I'm having trouble in making hypermail process 2 lists on my site.
> Hypermail is supposed to process msgs as they arrive. It works fine when
> there is only 1 mailing list. But when there are 2 or more, it can't
> handle the msgs, it creates empty files for the indexes and the newly
> arrived msgs, but doesn't write anything to them.
I do this all the time but use an entirely different approah on how I feed
hypermail.
I pipe through procmail first which gives me a way to 100% spam filter as
I look for specific header elements.
I can send all the list to one account and let procmail send it to various
archives.
In the examples below, I take mail from a single list and split it up by
subject stuff:
HM=/usr/local/bin/hypermail
:0: puglist.lck
* ^Mailing-List:.list peugeot-l@egroups.com;.contact
{
* ^Subject.*504
|$HM -i -u -p -c /fs01/home/peugeot/archive/504.hmrc
:0
* ^Subject.*505
|$HM -i -u -p -c /fs01/home/peugeot/archive/505.hmrc
:0
* ^Subject.*
|$HM -i -u -p -c /fs01/home/peugeot/archive/gen.hmrc
}
Here is an example of an .hmrc I use
>From jpl@vectorbd.com Wed May 24 21:36:40 2000
Date: Thu, 26 May 100 0:34:31 UTC
From: Jim Lill <jpl@vectorbd.com>
To: jpl
#
language = en
htmlsuffix = html
mbox = testmail
archives = /peugeot/archive
about = /peugeot/list.html
label = 505 Archive
dir = /fs01/home/peugeot/archive/505/%y/%M
defaultindex = date
overwrite = 1
inlinehtml = 1
increment = 1
readone = 0
reverse = 1
progress = 2
showheaders = 0
show_headers = X-Mailer,Status
showhtml = 1
showbr = 1
showhr = 1
showreplies = 1
show_msg_links = 1
usetable = 0
indextable = 0
iquotes = 1
eurodate = 1
discard_dup_msgids = 1
require_msgids = 1
usemeta = 0
#dateformat = %d/%m/%y - %H:%M %Z
attachmentlink =
uselock = 1
locktime = 3600
thrdlevels = 9
dirmode = 0755
filemode = 0644
mailto = jpl@vectorbd.com
domainaddr = vectorbd.com
text_types = message/DELIVERY-STATUS text/enriched text/html
ignore_types = multipart/alternative
ignore_types = multipart/mixed
ignore_types = "image/gif image/jpeg image/bmp"
ignore_types = text/x-vcard
ignore_types = "application/x-msdownload application/octet-stream"
prefered_types = text/plain text/html
body=<body background="/peugeot/images/pback.jpg" bgcolor="#ADD8E6" text="#23238E">
ihtmlheaderfile = /fs01/home/peugeot/archive/hindex.hyp
![]()