Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I seem to remember a patch to mutt that allowed to modify the path of the mailbox in mbox-hook in include the date. For example, you could have this:

mbox-hook Maildir +Archive/%y/%m/maildir

Which would save the emails in Archive/2011/12/maildir if they were send during December 2011.

Anyone knows what it was called or if it still is supported? I seem to remember that there was an option in the BSD ports to enable it but cannot find it now.

If not, does anyone know how I could achieve the same thing?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

It is called mbox-hook supporting printf-like sequnces in mailbox. Sadly, it appears not to be maintained any more.

However, it appears that you can still use the patch if you know how to code.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.