Gnus development mailing list
 help / color / mirror / Atom feed
From: Jon Kvebaek <jkv@a.sol.no>
Subject: Re: A Question concerning filtering spam...
Date: 16 Apr 1997 12:33:55 +0200	[thread overview]
Message-ID: <yqpowwq3l0j0.fsf@hullet.a.sn.no> (raw)
In-Reply-To: jason@mastaler.com's message of 15 Apr 1997 16:16:10 -0400

jason@mastaler.com (Jason R. Mastaler) writes:

> Have you seen the "Thwarting Email Spam" section of the Gnus manual?
> (http://www.gnus.org/manual/gnus.html) - It has a piece about 
> dealing with spam that doesn't include your email address explicitly
> in the To header by using a fancy split rule.

I do it like this:

(setq nnmail-split-methods 'nnmail-split-fancy)
(setq nnmail-split-fancy
      '(| ("newsgroups" ".*" "news.posted")
	  ("to\\|cc" "\\(root\\|Postmaster\\|postmaster\\|mailer-daemon\\)@\\(www\\)" "mail.root")
	  ("subject" "output from .cron. command" (| ("subject"
						      "re\\|fwd" "mail.misc")
						     "mail.cron"))
	  ("to\\|cc" "ding" "mail.lists.ding")
	  ("to\\|cc" "adm-drift" "mail.sol.drift")
	  ("to\\|cc" "4ad" "mail.lists.4ad")
	  ("to\\|cc" "WWW-SECURITY" "mail.lists.www-security")
	  ("to\\|cc" "culture-time" "mail.lists.culture-time")
	  ("to\\|cc" "bofh" "mail.bofh")
	  [lots deleted]
	  ("from" "webspawner.com" "mail.void")
	  ("to" ".+" "mail.misc")
	  "mail.void"))

Anything that hasn't already been split, but contains a To: filed goes
to mail.misc. Things with nae To: at all goes to mail.void. Has proven
very useful. 

-- 
Jon Kvebaek <jkv@a.sol.no>
In my CD-player now: Pavement / Brighten the Corners


      reply	other threads:[~1997-04-16 10:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-15 19:12 Edvard Majakari
1997-04-15 20:16 ` Jason R. Mastaler
1997-04-16 10:33   ` Jon Kvebaek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yqpowwq3l0j0.fsf@hullet.a.sn.no \
    --to=jkv@a.sol.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).