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

Re: mutt, spamcop, and vi: header weeding



On 2006-12-21, Peter Jay Salzman <p@xxxxxxxxx> wrote:

> The problem is that my headers are left "unweeded" after sending the spam.
> I tried to solve the problem by adding <display-toggle-weed> at the end of
> the macro:
> 
> 
>    macro pager F \
>    "<display-toggle-weed><forward-message>$my_spam\n<display-toggle-weed>"
> 
> 
> but this sends the forwarded spam WITHOUT the full headers!  I guess this is
> because the email hasn't been shipped out yet, so when I issue the 2nd
> <display-toggle-weed>, it simply re-enables weeding.
> 
> 
> So how do I turn the header weeding back on?

    :set weed

I think this will work, but I haven't tested it:

    macro pager F \
    ":set noweed\n<forward-message>$my_spam\n:set weed\n"

HTH,
Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA