Why not just use "report_header 1" and put the spam report in the header, 
and "defang_mime 0" to have SA leave the HTML alone, in the first place?

On Thu, 2 Jan 2003, Crist J. Clark wrote:

> Anyone out there have a good way to automate markup removal in Mutt?
> The best I've come up with is a folder-hook for my SPAM trap folder
> that changes the $editor to a script that runs 'spamassassin -d' on
> the file that Mutt gives it. It works fine, but it would be nice to
> not have to clobber the editor command to do this.
> 
> Has anyone figured out a macro to do this? My requirements are:
> 
>   - It MUST at most take a single keystroke
>   - An unmarked-up mail MUST appear in the current mailbox or in
>     a fixed mailbox, e.g. the default inbox.
>   - The marked-up message SHOULD be marked for deletion, but MUST
>     NOT be destroyed by the mark-up removal process.
> 
> The script around 'spamassassin -d' being specified as the $editor,
> fulfills this, but like I said, I don't like clobbering the $editor
> function for it.
> 
> Thanks for any help.
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to