sandipb.net

> yours truly.

sandipb.net

One liner to convert Maildir/ to mbox using mutt

January 7th, 2009 · Comments · General

If .news/ is the maildir that you want to convert to the mbox news, this one-liner will do the job for you.


mutt -f .news/ -e 'set confirmcreate=no; set delete=no; push "T.*<enter>;snews<enter><quit>"'

(Gleaned from this mailing list post )

Tags: ····

  • Why on EARTH would you try something like this in cron? Good lord...
  • t
    Nice but does'nt work with cron, it always returns
    "No recipients were specified"
blog comments powered by Disqus