Spam filtering rule doesn't work

Found a serious/minor bug in PopTray? Tell me about it.

Moderators: KY Dave, jojobear99, Rdsok

Locked
kgozdz
First Timer
Posts: 2
Joined: Tue May 16, 2006 11:10 pm

Spam filtering rule doesn't work

Post by kgozdz » Tue May 16, 2006 11:40 pm

I use K9 as spam filtering application. It works as POP3 proxy listening
on specified port. When K9 clasifies a message as spam, it adds header
like 'X-Text-Classification: spam[97.6%]' to it. Mozilla Thunderbird and
Microsoft Outlook configured to connect to the port served by K9 on
localhost, look for the header and eventually move the message to
suitable folder work fine. Unfortunately, PopTray (version 3.1) configured
to connect to the same port on the same host and teached the following
rule:

Name: SPAM
Enabled: YES
Account: All Accounts
New Messages Only: NO
Needed: ANY Row
Header, Contains, X-Text-Classification: spam
Actions
Mark as Spam: YES

does not mark messages as spam. Is it my misunderstanding of program
behavior or just a bug?

User avatar
Rdsok
PopTray Family
Posts: 1408
Joined: Fri Mar 19, 2004 11:36 pm
Location: Norman, Oklahoma USA
Contact:

Post by Rdsok » Wed May 17, 2006 5:40 am

Maybe this post will help you find your problem... viewtopic.php?p=12861#12861

Poptray doesn't have a bug here.. its something you are overlooking most likely..

User avatar
KY Dave
Not the Developer
Posts: 1599
Joined: Thu Mar 14, 2002 7:29 pm
Location: Burkesville, KY. U.S.A.
Contact:

Post by KY Dave » Wed May 17, 2006 1:03 pm

I agree with Rdsok, it is most likely something minor you may have missed.

Here's a tip, when you are testing a RULE,

hold down SHIFT while clicking CHECK (SHIFT+CHECK) to check email,

that causes the RULES to be checked everytime, where if you have QUICK CHECK ENABLED, the RULEs aren't always checked.
KY Dave

Family Blog
You can STOP SPAM using PopFile and PopTray.

kgozdz
First Timer
Posts: 2
Joined: Tue May 16, 2006 11:10 pm

Post by kgozdz » Wed May 17, 2006 8:58 pm

First of all, thank you very much for pointing me to the right source of
information. I was searching the forum for 'K9' string, but found nothing.
Anyway, finally I have fixed my problem.

Insted of adding a word 'Spam' to the subject of clasified message (like
described in that post), I prefer to add special header to it (as I have
described above). This approach allows me to move messages between
folders (Spam, Inbox and others) in case when K9 makes mistake.

I have configured everything right except I have not checked "Retrieve
Body while Checking" in "Advanced Options" section. I assumed PopTray
omits the body of a message, but looks at each header, including
additional ones (like 'X-Text-Classification: spam' added by K9). After all,
it seems the program takes care of the most important headers only, for
example: From, To, Date, Subject and so on. So, the misunderstanding
here was a different meaning of the term "body of an e-mail message"
by me and the author of very useful PopTray application.

User avatar
KY Dave
Not the Developer
Posts: 1599
Joined: Thu Mar 14, 2002 7:29 pm
Location: Burkesville, KY. U.S.A.
Contact:

Post by KY Dave » Wed May 17, 2006 10:04 pm

kgozdz wrote:I have configured everything right except I have not checked "Retrieve
Body while Checking" in "Advanced Options" section.
K9 will work much better if you have the box checked for RETRIEVE BODY WHILE CHECKING in PopTray.

That lets K9 'count' the words in the message and then determine if it is SPAM or GOOD by the word count. If the box is not checked, K9 is just marking the messages by using the DNSBL (BLACKLIST) feature.
KY Dave

Family Blog
You can STOP SPAM using PopFile and PopTray.

Locked

Who is online

Users browsing this forum: No registered users and 4 guests