* On 22 Oct 2011, Jim Graham wrote: 
> On Sat, Oct 22, 2011 at 02:30:13PM +0100, Michael Graham wrote:
> 
> > Perhaps something like this may work for you:
> > 
> > send-hook @mutt.org "<push><edit-bcc><kill-line>[email protected]<Enter>"
> 
> No Bcc.  It didn't work.    :-(

I haven't tried this and it's only off the cuff, but perhaps a
send2-hook setting $sendmail would work:

#!/bin/sh
# sendmail wrapper for mutt
exec /usr/lib/sendmail "$@" [email protected]

send2-hook .                   "set sendmail=/usr/lib/sendmail -oi -oem" # or 
whatever
send2-hook [email protected] "set sendmail=/path/to/mutt-sendmail -oi -oem"

-- 
David Champion • [email protected] • IT Services • University of Chicago

Reply via email to