[mew-int 3077] Re: kill file
Christophe TROESTLER
Christophe.Troestler at example.com
Sat Apr 21 17:12:14 JST 2012
Hi,
On Sat, 21 Apr 2012 08:09:15 +0200, maxigas wrote:
>
> is there a way to implement a kill file in mew?
>
> i would like mew to put the D mark automatically to messages after
> mail download that are set in the configuration file in a similar
> way to guess-alist.
>
> for example to say that "whenever somebody at example.com sends me a
> message it should automatically marked D after download".
You can use a spam filter. For example, for spamassasin, put in your
mew-rc-file
(setq mew-spam-prog "sa-learn")
(setq mew-spam-prog-args '("--spam" "--single"))
(setq mew-ham-prog "sa-learn")
(setq mew-ham-prog-args '("--ham" "--single"))
(setq mew-inbox-action-alist
'(("X-Spam-Flag:" (?D "YES" "yes"))
))
and then, in ~/.spamassassin/user_prefs, put
blacklist_from somebody at example.com
or
blacklist_from *@example.org
etc.
Best,
C.
More information about the Mew-int
mailing list