On 14 Jan 2024 15:47 +0000, from v...@f-m.fm (void):
> What I'd like to have within mutt is for it to dynamically
> decide which signature file to use based on what imap
> folder the mail being replied to is in.

You can use a set of folder-hook stanzas to set $signature.

For example:

folder-hook . 'set signature=~/.signature'
folder-hook =mutt-users 'set signature=~/.signatures/mutt-users'
folder-hook =somewhere/else 'set signature=~/.signatures/somewhere-else'

The "folder-hook ." should come first and establishes a default; the
others effectively set overrides for the default.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

Reply via email to