public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Edstrom <peter.p3@home.se>
To: linux-newbie@vger.kernel.org
Subject: Re: A "subject" rule for procmail
Date: Sun, 14 Sep 2003 18:02:47 +0200	[thread overview]
Message-ID: <20030914160247.GA1074@linux> (raw)
In-Reply-To: <Pine.LNX.4.58.0309140609200.1280@localhost>

> With bmf, does it search a spam folder and learn from what you put into
> it?  The thing is I delete good e-mail after I've finished reading it if
> there's no further use for it but just because I deleted that e-mail
> doesn't make it properly spam.

This is kinda how it works:

When your mail is sent to procmail, procmail pipes it to the bmf program
to filter it. Bmf is looking at the headers as well as the message, and
compares it with keywords given in a database. If the mail is spam, a
new header 'X-Spam-Status' is set to 'Yes', and then the mail is
returned to procmail. Now you can make procmail check the X-Spam-Status,
and if spam it can either put the mail in a specific spam mailbox
(recommended), or to /dev/null.

If bmf misses a spam mail, you can mark the mail as spam which updates
the badlist-database. (This is very easy to do with eg. mutt, where you
can bind for instance F12 to do this). Similarly, if bmf happen to
filter a mail which isn't spam, you can remove it from the database (in
eg. mutt you can do this with for instance F11).

If you just delete a mail, it will not be marked as spam.

If there's something you don't understand, please let me know. I'm in a
little hurry now - I'm supposed to cook potatoes. ;-)

Hope this helps!
/Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2003-09-14 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13 20:41 A "subject" rule for procmail Marco Calistri
2003-09-14  5:32 ` dashielljt
2003-09-14  9:41 ` Peter Edstrom
2003-09-14 10:11   ` dashielljt
2003-09-14 16:02     ` Peter Edstrom [this message]
2003-09-14  9:49 ` (F)A " Steven
2003-09-14 19:56   ` Marco Calistri
2003-09-15 11:25     ` Peter Edstrom

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=20030914160247.GA1074@linux \
    --to=peter.p3@home.se \
    --cc=linux-newbie@vger.kernel.org \
    /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