Hi,

* David T-G [04/04/02 18:48:49] wrote:
> More importantly, multiple send-hooks can be applied to a single message,
> so mutt goes through them all applying everything that matches.  If you
> had

>   send-hook . set pgp_autosign=yes
>   send-hook aol.com set pgp_autosign=no
>   send-hook dad set pgp_autosign=yes

> and you sent mail to [EMAIL PROTECTED] then pgp_autosign would be yes.

> Contrast this to an fcc-hook or a folder-hook, only one of which can be
> applied; mutt goes through the list and stops at the first match, so your
> default case -- if you even need one -- is at the bottom.

Are you really sure about that one? I currently have:

,----[ ~/.mutt/setup/folder-hooks ]-
|
| folder-hook . 'my_hdr Reply-To: Rocco Rutte <[EMAIL PROTECTED]>'
| [...]
| folder-hook =IN.mutt-users 'my_hdr Reply-To: mutt-users <[EMAIL PROTECTED]>'
|
`-

... in that order and it works. It shouldn't work if you were right,
because 'folder-hook .' is supposed to always match on entering a
folder.

Read this one before? :

,----[ ~/public_html/manual.txt ]-
|
| If a mailbox matches multiple
| folder-hook's, they are executed in the order given in the muttrc. 
|
`-

Cheers, Rocco.

Attachment: msg26690/pgp00000.pgp
Description: PGP signature

Reply via email to