Hi, I have 3 profiles, like this: http://pastebin.com/kJWwPGYT
and 3 muttrc, like this: http://pastebin.com/1k1cHShC This is my /home/user/bin/scripts/mymsmpt.gmail ### script start here ### #!/bin/bash tee >(lbdb-fetchaddr -a)|/usr/bin/msmtp -a gmail $@ ### script end here ### In my muttrc I have: source ~/.mutt/profile.gmail # Profile default unhook send-hook send-hook . "source ~/.mutt/profile.gmail\n"# attribution='Hi %v!\n\nOn %{%a, %d %b %Y}, %n wrote:\n'" send-hook ^([email protected]|[email protected]|[email protected]) 'set mime_forward signature="~/.mutt/sig.list"' send-hook ^([email protected]|[email protected]|[email protected])|('(.*)@ufvjm\.edu\.br') "source ~/.mutt/profile.ufvjm\n" What I need? When I was in my Gmail mbox, I need that all replaies is sent by gmail smtp. So, I need to set, on the fly, gmail profile and sig. When I was in my Yahoo mbox, I need that all replaies is sent by yahoo smtp. So, I need to set, on the fly, yahoo profile and sig. When I was in my Work mbox, I need that all replaies is sent by work smtp. So, I need to set, on the fly, work profile and sig. How I could do that? Thank you very much! -- Marcelo Brasil (Brazil, for English Speakers) Linux user number 487797
