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

Re: What am I doing wrong?



* Adam Shostack <adam@xxxxxxxxxxxx> [2004-07-11 21:46 -0400]:
> I'm trying to enhance my anti-spam to save messages that get through
> my filters.  However, the rules below seem to save the message to a
> file called ~/etc/wait_key=no>|razor-revoke;<save-entry>.spam-missed
> 
> I note that save-message is magically transformed into save-entry, and
> would appriciate any advice as to what's wrong or how to do this
> properly.
> 
> Thanks!
> 
> Adam
> 
> 
> message-hook "~h RAZOR" "unignore X-Spam-Status"
> macro index S "<set 
> wait_key=no>|razor-revoke;<save-message>.spam-missed<enter><reset wait_key>" 
> "report message to Vipul's Razor"
> macro pager S "<set 
> wait_key=no>|razor-revoke;<save-message>.spam-missed<enter><reset wait_key>" 
> "report message to Vipul's Razor"
                 

try

macro index S ":set 
wait_key=no<enter>|razor-revoke<enter><save-message>.spam-missed<enter>:reset 
wait_key<enter>" "report message to Vipul's Razor"
macro pager S ":set 
wait_key=no<enter>|razor-revoke<enter><save-message>.spam-missed<enter>:reset 
wait_key<enter>" "report message to Vipul's Razor"

with : bound to enter-command (the default).

Nicolas