Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Shao Zhang <shaoz@activesky.com>
Subject: Re: help with spam.el
Date: Thu, 27 Mar 2003 10:30:31 +1100	[thread overview]
Message-ID: <kfisu53duw.fsf@shaoz.activesky.com.au> (raw)
In-Reply-To: <4nvfy6850a.fsf@lockgroove.bwh.harvard.edu>

On [Wed, 26 Mar 2003 11:30:29 -0500], Ted Zlatanov <tzz@lifelogs.com> wrote:
>> I expect that spams in my IMAP folder will be automatically marked
>> as spam and transfered to the spam group upon exit the summary
>> buffer. I will need to occasionally mark/unmark the wrongly guessed
>> ones.
>
> spam.el does not mark *incoming* messages as spam.  If you set the
> contents parameter of a folder to be spam, then new mail in that
> folder will be marked as spam automatically.  The idea is that
> spam-split will put spam messages in a spam folder, where the new
> messages will be automatically marked with the spam-mark.

Right. Then my problem is spam-split. The spam messages in my nnimap
folders are not split out to the spam folders at all.

> Also, you need to train spam detection at first.  If you have a lot of
> spam stored somewhere, you can train ifile on that spam from the
> command line (using category "spam" to indicate the spam contents, as
> spam.el does).

Does the current spam.el do this if the group is classified as spam
groups? Or do I need to run it manually?

> I would not recommend making your inbox a spam folder (I think that's
> what you are implying above).  Mail in the inbox that's spam has to be
> manually marked as spam (because spam-split failed to classify it
> automatically) and then when you exit the inbox that manually marked
> spam will be spam-processed (for instance, with bogofilter - the spam
> processor you have set is used) and transferred to whatever you have
> set for the spam-process-destination.

Agreed. As mentioned above, I am not getting any spam msgs split into my
spam folders.

>> Not at all, I am very confused as well. I have two imap servers, all
>> my emails are in ~/Mail for both server, so I have
>> nnimap+work:~/Mail/inbox and nnimap+private:~/Mail/inbox. According
>> to the manual, nnimap-list-pattern accepts ~/Mail/*.
>
> I've never used such folder names, personally, but if it works for you
> that's great.

I don't like the ~ stuff at all. I wonder what other folders you can
have? I see the manual using INBOX as examples, what does that mean?

>> I think my split rule is definitely wrong, and that maybe why my
>> mails from nnimap folder are not moved to the spam group:
>> 
> (require 'spam)
> (setq nnimap-split-download-body t)
> (setq nnimap-split-rule '(("private" (".*" nnimap-split-fancy))
>                           ("work" (".*" nnimap-split-fancy)))
>       nnimap-split-inbox (quote ("nnimap+private:~/Mail/inbox" "nnimap+work:~/Mail/inbox"))
>       nnimap-split-fancy '(|
>                            (: spam-split)))

Regards,

Shao.


  parent reply	other threads:[~2003-03-26 23:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <kfisuevghb.fsf@shaoz.activesky.com.au>
     [not found] ` <4nhe9yeykj.fsf@lockgroove.bwh.harvard.edu>
     [not found]   ` <kfvfy963bf.fsf@shaoz.activesky.com.au>
2003-03-24 16:31     ` Ted Zlatanov
     [not found]       ` <kfptoflzbj.fsf@shaoz.activesky.com.au>
     [not found]         ` <4nvfy6850a.fsf@lockgroove.bwh.harvard.edu>
2003-03-26 23:30           ` Shao Zhang [this message]
     [not found]             ` <4nu1do4sb6.fsf@lockgroove.bwh.harvard.edu>
2003-03-28  3:54               ` Shao Zhang
2003-04-07 20:00                 ` Ted Zlatanov
2003-03-28  3:43           ` Shao Zhang

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=kfisu53duw.fsf@shaoz.activesky.com.au \
    --to=shaoz@activesky.com \
    /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).