Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have multiple specific save-hooks defined for patterns. But for mail that doesn't match any of these, I would like to have a specific default. Right now mutt just takes the last of the defined save-hooks and uses that as a default.

share|improve this question
up vote 1 down vote accepted

Try adding a save-hook for .* at the end - this should be used if there are no save-hooks above it, that would override.

If that doesn't work, try to put .* before other hooks.

share|improve this answer
Setting the catch-all regexp before the other save-hooks worked. Thanks! – Steen Oct 20 '09 at 8:42

Your Answer


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.