Skip to main content.
home | support | download

Back to List Archive

maildir / mime

From: Bas van Gils <basvg(at)>
Date: Thu Dec 08 2005 - 13:23:15 GMT
Hi all,

I've been playing with swish-e for the last few days and I like it more and
more. I'm thinking about indexing my mail which is stored in the maildir
format. First I thought I'd write a script that does something like:

  foreach maildir; do
    foreach message; do
      generate XML and feed to swish

the XML structure can be simple. Probably something like:
    <from> .. </from>
    <to> .. </to>
    <date> .. </date>
    <subject> .. </subject>

It's not too hard to do this but I found that I ran into trouble with
(multi-part) MIME messages. Before I invest a lot of time in figuring out how
to process MIME messages I figured I'd better ask if someone has already done
something like this. No need to re-invent the wheel eh!

Any help is greatly appreciated,



<Bas.vanGils(at)> - GPG Key ID: 2768A493  -
Radboud University Nijmegen Institute for Computing and Information Sciences
Received on Thu Dec 8 05:23:16 2005