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

Need help for macro index



Hello,

I want to define a macro index which:
- report a mail to the razor list
- learn the mail as spam for SpamAssassin

For the moment, I have the following 2 macro indexes in my .muttrc file:
macro index A "|/usr/bin/razor-report\n<delete-message>"
macro index S "|/usr/bin/sa-learn --spam  --no-sync --single\n<delete-message>"

I have to report the mail to razor (A letter) then undelete it and learn
it as spam. How can I do the 2 things with the same key? I don't know
how to do it with the pipe...

Thanks for the help.

Nicolas.

-- 
--- OxStOnE --------------  O
- Z750 & Linux -------  ._ /\_>
--- Powered ----------  (x)> (x)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~