<<< Date Index >>>     <<< Thread Index >>>

Re: mutt, spamcop, and vi: header weeding



Peter Jay Salzman wrote:
> So I did this:
> 
>    set my_spamcop='p@xxxxxxxxx'
>    macro pager F ":set noweed\n<forward-message>$my_spamcop\n:\set weed\n"
>    send-hook . 'set signature="~/.sig"'
>    send-hook $my_spamcop 'unset signature ; set mime_forward ; set
>    editor=/bin/true; push y'
>    fcc-hook  $my_spamcop /dev/null
> 
> to take a look at what spamcop would receive.  Unfortunately, the
> headers were weeded.   :(

Why is there a backslash before "set weed" there?

If that doesn't solve it, try this:

    set my_spamcop='p@xxxxxxxxx'
    macro pager F ":set noweed\n<forward-message>$my_spamcop\n"
    send-hook . 'set signature="~/.sig"'
    send-hook $my_spamcop 'unset signature; set mime_forward; 
                           set editor=/bin/true; push y; set weed'
    fcc-hook  $my_spamcop /dev/null


Toby