Re: [Evolution] pipe to spamassassin -r



Piping an email to "spamassassin -r" reports spam to services like
razor2.  Is there a way to make a function key do this for me?

Nope, AFAIK there is currently no way to assign a shortcut to a custom
command (filter) like that.


However, a little hack will do the trick: You can play around with
filters to accomplish this. If you use filters for incoming mails
(follow up unused):

Mark the message for "follow up" (Actions / Follow Up) by hitting
Shift+Ctrl+G. Then apply filters (Actions / Apply Filters) by hitting
Ctrl+Y.

Have a filter defined:
 if    "follow up"  "is flagged"
 then  "pipe message to shell command"  "spamassassin -r"

Using this trick, you can have a "shortcut" assigned. You can even
change both shortcuts by editing some system global XML files.


If you do not use filters fpr incoming mails at all, you can simply drop
the "follow up flag" entirely.

It's not nice, but it should work. HTH...


Evolution 2.0 is planned to have some interaction to sort / mark SPAM
messages. IIRC interaction with SA is discussed, and things like this
probably will make it into the GUI.

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]