Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
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.