[mew-int 3077] Re: kill file
Christophe TROESTLER <[email protected]> Sat, 21 Apr 2012 10:12:14 +0200
| Newsgroups | gmane.mail.mew.general |
|---|---|
| Organization | Universite de Mons (http://math.umons.ac.be/an/) |
| Message-ID | <20120421.101214.1547636968489746435.Christophe.Troestler@umons.ac.be> |
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 [email protected] 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 [email protected] or blacklist_from *@example.org etc. Best, C.