info-gnus-english
[Top][All Lists]
Advanced

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

Re: Spam despite spam header


From: Emanuel Berg
Subject: Re: Spam despite spam header
Date: Fri, 13 Dec 2013 00:35:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

asjo@koldfront.dk (Adam Sjøgren) writes:

> You can test where an existing email would be split
> to by pressing B q when looking at it.
>
> And you can get Gnus to put it where the splitting
> rules say by pressing B r.

Yes, that works, and is kind of cool, too.

Summary:

(setq nnmail-split-methods
      '(("mail.spam" "^X-Spam-Flag: YES")
      ;; ...
        ("mail.misc" "") ))

Then create the spam group, for example with this:
 
(defun gnus-add-nnml-group (group)
  (interactive "s Mail group: ")
  (gnus-group-make-group group "nnml")
  (gnus-save-newsrc-file) )

On the file system: /home/user/Mail/mail/spam

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]