SOLVED Re: send-hook based on regex

2011-09-23 Thread Marcelo Luiz de Laia
On Tue, 16 Aug 2011, Marcelo Luiz de Laia wrote: > Hi, > (...) > > I would like to add in the last sen-hook samethings that make this one > the default profile for all messages send to '@server2.com.br' Solved like this: send-hook ~C ^(user1|user2|friend20|bestfriend) \ | ('(.*)@server2\.com\.

send-hook based on regex

2011-08-16 Thread Marcelo Luiz de Laia
Hi, I have this on my muttrc: unhook send-hook send-hook . "source ~/.mutt/profile.gmail\n" send-hook ^(offlineimap-proj...@lists.alioth.debian.org|...) \ 'set mime_forward signature="~/.mutt/sig.list"' send-hook ^(user1|user2|friend20|bestfriend|) \ "source ~/.mutt/profile.02\n" I would lik