Hi list,

I recently switched from pine to mutt and have a bunch of things I would
like to settle in mutt. But one at a time.

I use aliases to define some groups of addresses I regularly use.  Some
of these groups are subgroups of other groups, or partially overlap.

For all these separate groups I want to write FCC to files named after
the alias. But also for the individual members of these groups I want to
write FCC when I write mail to each of them personally.

So, I want something like the following:

alias a1 [EMAIL PROTECTED] 
alias a2 [EMAIL PROTECTED] 
alias a3 [EMAIL PROTECTED]
alias a12 a1, a2 
alias a123 a1,a2,a3
fcc-hook '^~C [EMAIL PROTECTED]' +a1
fcc-hook '^~C [EMAIL PROTECTED]' +a2
fcc-hook '^~C [EMAIL PROTECTED]' +a3
fcc-hook '^(~C [EMAIL PROTECTED] ~C [EMAIL PROTECTED])' =a12
fcc-hook '^~C [EMAIL PROTECTED]' =a123

I figured out I need the '^' to make sure that single addresses only
match the exact addresses. But I can't figure out how I can make the
fcc-hooks for a12 and for a123 such that they only match at the proper
time.

The brackets and pattern matching in the last 2 fcc-hook lines are only
my latest attempts to get it working (but to no avail).

Anybody have an idea?


thanks, Ludo

Reply via email to