Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • qmail-scanner, iirc, comes with a maildir2mbox script, and I think I've got one somewhere as well. Personally though, I prefer maildirs =) [That's religious territory there =)]
      ---ict / Spoon
    • Yeah... but this is perl. :-)

      I prefer maildirs

      Sure, maildirs are nice -- better than mboxes in most ways. But mutt uses mboxes, and I like mutt!

      • *cough*

          set mbox_type="Maildir"

        Mutt uses many things =) I also love mutt.

          ---ict / Spoon
        • :-)
          Somehow I knew that would turn out to be the case.

          You know mutt has a jillion features, it's hard to comprehend them all.

          O.k., so, lemme aks ya:

          How do I direct mutt to set the outgoing envelope "From" address to a specific value? I thought setting the EMAIL environment variable would do it, but apparently not so.

          • Damn. The one question I'd love to know the answer to is the one you ask.

            As far as I know, it's set by the MTA rather than any MUA. So it probably depends on your MTA and its capabilities. Definitely a useful thing to be able to change, just because of YahooGroups if nothing else.
              ---ict / Spoon
          • Found it (mentioned on a mutt list a few minute sago).

            In your muttrc, add "set envelope_from=yes".

            Should do the trick. See the manual, naturally, if problems persist.
              ---ict / Spoon
    • ezmlm archives are not maildirs. (or mboxes).

          - ask

      -- ask bjoern hansen [], !try; do();

      • You are quite right. I was mistaken to call them maildirs in the first place.

        Still, except for the directory structure required by the maildir format, the ezmlm archives are very similar to maildir. That is, the message files themselves look exactly like maildir message files.
        • AIUI, if you change conversion code from using 'cur', 'new' and 'tmp' to just using any directories that match /^\d+$/ then the conversion works.

          As you say, they're similar enough to not really matter.

            ---ict / Spoon
  • This sounds far too complicated.

    The list messages may be stored in a maildir, but you don't need to rely on that.

    Ask has made the full archives of the mailing lists available through NNTP at Presumably you're going to be doing a bulk mbox conversion at some point, and might want to grab new messages at some point in the future. Grabbing each message over NNTP may be a drag, but it's damn easy. And adding a well-formed "From " line at the beginning of each message is just anoth