Re: Importing mail archive into Thuderbird

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29Jul2014 20:07, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
Where did you fetch them from?

http://lists.centos.org/pipermail/arm-dev/

When form are they in?

Good question.  It looks like mbox.

Ah, a mailman archive folder.

It is like mbox, but has obfusactions in it to reduce the risks of email address harvesting. (Personally I think this pointless, but it was all the rage once).

You need to:

  collate all the mail archives into a single file;
    fortunately you can just concatentate them, and UNIX comes with
    a command for that called "cat"

  if they're compressed, you can gunzip them (before or after,
    doesn't matter since you can concatenate gzipped files and ungzip the
    total if you like)

  undo the obfusation

Fortunately I have tools for this. I use this script:

  https://bitbucket.org/cameron_simpson/css/src/tip/bin/get-mailman-archive

to fetch and do it all, but it's not ready for others to use yet. Since I gather you have the files already, just:

  - decompress
  - concatenate

then pipe them through "fix-mail-dates --mbox" and "un-at-" into another file:

  fix-mail-dates --mbox <fetched-archive | un-at- >import-ready-archive

These two scripts are here:

  https://bitbucket.org/cameron_simpson/css/src/tip/bin/fix-mail-dates
  https://bitbucket.org/cameron_simpson/css/src/tip/bin/un-at-

Let me know how this goes for you.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux