help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Spam despite spam header


From: W. Greenhouse
Subject: Re: Spam despite spam header
Date: Sun, 15 Dec 2013 04:06:18 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Emanuel Berg <address@hidden> writes:

[...]

>
> Cool! I will do that (read the manual entry).
>
> Yes, it works the way you describe:
>
> (setq nnmail-split-methods
>       '(("mail.spam" "^X-Spam-Flag: YES")
>       ;; ...
>         ("mail.misc" "") ))
>
> Then create the spam group, for example with this
> (perhaps this happens automatically):
>
> (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

Awesome.  For future reference, a mail group will be created
automatically the first time Gnus needs to deliver mail there--whether
by the user manually copying a piece of mail there or by a splitting
rule. :)




reply via email to

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