[mew-int 01370] Re: spamassassin question
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
Tue Apr 1 20:22:47 JST 2003
From: "clemens fischer" <ino-qc at example.com>
Subject: [mew-int 01369] Re: spamassassin question
> henri at example.com:
>
> > (if (string-match \"yes\" val) \"+spam\")))
>
> what on earth are those backslashes for?
Yes. You should not copy examples directly from .el files. Since it
locates in a document string, double quites are quoted by backslash.
Rather, you should copy examples from the *Help* buffer which is
displayed when you execute M-x describe-function +
mew-inbox-action-alist, for instance.
Also that I should tell simpler configuration for Spamassassin:
(setq mew-inbox-action-alist
'(("X-Spam-Flag:"
("+SPAM" "yes"))))
Since the value of X-Spam-Flag: is a string, this is enough. If you
need to analyze a spam score (in X-Spam-Status:, for example), you
should define your own function to do it.
--Kazu
More information about the Mew-int
mailing list