
On 2012-02-13 12:56, Jason White wrote:
Craig Sanders <cas@taz.net.au> wrote:
mbox files can easily be renamed to something like listname.YYYYMM or listname.YYYYMM-YYYYMM and then optionally compressed (mutt can open compressed mbox files).
I just tested and found that Mutt 1.5.21 (the version currently installed here) can read Mbox files compressed with xz. That's impressive.
It's not really that impressive. It'll read mbox if you tell it how: mattcen@andy:tmp$ cat /etc/Muttrc.d/compressed-folders.rc # Use folders which match on \\.gz$ or \\.bz2$ as [gb]zipped folders: open-hook \\.gz$ "gzip -cd '%f' > '%t'" close-hook \\.gz$ "gzip -c '%t' > '%f'" append-hook \\.gz$ "gzip -c '%t' >> '%f'" open-hook \\.bz2$ "bzip2 -cd '%f' > '%t'" close-hook \\.bz2$ "bzip2 -c '%t' > '%f'" append-hook \\.bz2$ "bzip2 -c '%t' >> '%f'" open-hook \\.xz$ "xz -cd %f > %t" close-hook \\.xz$ "xz -c %t > %f" append-hook \\.xz$ "xz -c %t >> %f" -- Regards, Matthew Cengia