Mark --
...and then GARFiELD said...
%
% Hi !
Hello!
%
% Is it possible to use a different signature file for each mailbox ?
Yes.
%
% I would like to have one signature, when I send emails from my "private-email"
mailbox and another
% when I send from my work mailbox.
Sounds like you want something like
folder-hook . 'set signature=~/.sig-default'
folder-hook =private 'set signature=~/.sig-private'
folder-hook =work 'set signature=~/.sig-work'
Note that you need the first case to provide a default, which might
actually just be your private or work sig; without that, you would
change into one box, switch sigs, and then never un-switch.
I set a number of things differently based on what mailbox I'm in, so
I just used
folder-hook =box1 'source $HOME/.muttrc-box1'
folder-hook =box2 'source $HOME/.muttrc-box2'
to source a special .muttrc, with all of the relevant commands, for
each case.
%
%
% ,-----------------------------------------------------------------------------.
% > Mark Nellemann | The squeaky wheel doesn't always get the grease. <
% > [EMAIL PROTECTED] | Sometimes it gets replaced. <
% `-----------------------------------------------------------------------------'
:-D
--
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
"Why2k? Well, I didn't think at the time that I could charge any more!"
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature