<<< Date Index >>>     <<< Thread Index >>>

Re: Can mutt read both mbox and maildir for one user



On Wed, 2006-09-13 at 22:57:28 -0700, William Yardley sent:
>Mutt will read mbox / maildir / mh mailboxes without any special
>configuration. But if you want to read compressed folders,
>you'll need to apply one of the compressed folder patches,
>unless you are using a version which already has this patch
>applied.
>
Patches aren't necessary to read or write to compressed mboxes,
just some .muttrc wizardry, gleaned from this very mailing list:

#
# Archive handling...
#
open-hook \\.gz$ "gzip -cd %f > %t"
close-hook \\.gz$ "gzip -c %t > %f"
append-hook \\.gz$ "gzip -c %t >> %f"
#
# As above, only with BZIP2s
#
open-hook \\.bz2$ "bzip2 -cd %f > %t"
close-hook \\.bz2$ "bzip2 -c %t > %f"
append-hook \\.bz2$ "bzip2 -c %t >> %f"

Hope this helps;


--paj

-- 
Pete Johns                                   <http://johnsy.com/>
Contact Information                  <http://johnsy.com/contact/>
More On OptusNet               <http://johnsy.com/20060912132225>
dsc00220              <http://johnsy.com/albums/flickr/210370644>

Attachment: pgpBmcViS5RuL.pgp
Description: PGP signature