[Users] Filtering spam

Ralf Mardorf info.mardorf at rocketmail.com
Fri Nov 7 14:14:08 CET 2014

On Fri, 7 Nov 2014 12:49:49 +0000
Paul <claws at thewildbeast.co.uk> wrote:
> On Fri, 7 Nov 2014 12:37:17 +0100
> Ralf Mardorf <info.mardorf at rocketmail.com> wrote: 
> > A filter
> > 
> > spam & from matchcase ".com"
> > move "#mh/Claws Mail/Spam/Junk .com" stop
> > 
> > doesn't work when receiving the mails, they still will be moved to
> > #mh/Claws Mail/Spam.
> > 
> > If I manually "Filter all mails in folder", this filter works.
> What do you mean by "works"? I suppose that you're still using the
> bogofilter plugin, which would have already dealt with the message
> before it even reaches this filter rule. i.e. it never reaches the
> filter rule.

English isn't my native language, I'm sorry for the broken English.

If I select the Spam folder that is used by the Bogofilter
#mh/Claws Mail/Spam
and then use the menu  Tools > Filter all messages in folder  then
the .com spam mails are moved to #mh/Claws Mail/Spam/Junk .com .

> > spam & from matchcase ".com"
> > mark_as_ham move "#mh/Claws Mail/Spam/Junk .com" stop

> Ummm....?

Unimportant, but JFTR, then the mails are moved to Trash, neither to
the selected default folder #mh/Claws Mail/Spam, nor the the wanted
#mh/Claws Mail/Spam/Junk .com, resp. using the Tools menu does "work"
as described above too.

> > http://lists.claws-mail.org/pipermail/users/2014-November/011365.html ,

> You were calling
> bogofilter from with a filtering rule. I was referring to other
> bogofilter arguments. See `man bogofilter` and `bogofilter --help`
> and it might become a little clearer.

I searched the archive, before I sent my request ;). The above isn't my
thread, I didn't do this. With my thread (this one) I'm asking, if this
is a way to archive what I want to work automatically, instead of using
the Tools menu manually.

> > I suspect that processing rules could do that, but they also don't
> > do it automatically, but just when selecting a folder?
> http://www.claws-mail.org/faq/index.php/Filtering_and_Processing_of_Messages#What_is_the_difference_between_Filtering.2C_Folder_Processing.2C_Pre.2FPost-processing.3F

"Filtering rules are global. Messages received on an Account can be
filtered in 2 ways, automatically or manually. To have the messages
filtered automatically the option 'Filter messages on receiving' must
be checked on the 'Receive' tab in the Account Preferences."

Strange, since all filters for receiving mails, excepted of the Spam
filters do work as expected, anyway, I'll now checked it, resp.
"After receiving new mail [x] Update all local folders" now is checked.


More information about the Users mailing list