On Fri, Mar 11, 2011 at 06:23:55PM +0100, Thomas Klausner wrote:
Ok, my original question doesn't make sense without more context:
.aliases:alias example-dev EXAMPLE Development <example-...@example.com>
.mutt-hooks:save-hook example-...@example.com =example/gras
.mutt-hooks:save-hook .*@example.com =example/received
.muttrc:subscribe example-dev
.muttrc.example:mailboxes =example/incoming =example/svn =example/example-dev

When I try to save a mail from .*@example.com to
example-...@example.com, mutt suggests "=example-dev" and I don't
understand why. What am I missing?

If the pattern specified in a save-hook doesn't explicitly have an
operator, it gets expanded by $simple_search, which by default only
searches the From: address and subject.  You need to use this instead:

save-hook '~C example-...@example.com' =example/gras

me
~

Reply via email to