[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: POP filters in KMail

On Sun 25 July 2004 12:02, Peter Clark wrote:
> 	I'm running KMail 1.6.2 with KDE 3.2.3, and I am unable to get the
> POP filters working. What I want to do is filter out messages that
> have been flagged as spam; the POP server I connect to nicely runs
> SpamAssassin, but leaves it up to the user to decide what to do about
> it. It appends a header "X-Spam-Warning: This message may be SPAM" to
> every email that it decides is spam, and what I would like to do is
> just delete every email with that header.
> 	So, under the POP3 filter dialog, I create the following filter:
> o Match all of the following
> o <any header> - contains - This message may be SPAM
> o Filter Action: Download mail later
> o Global Options: Always show matched 'Download Later' messages in a
> confirmation dialog.
> But it does nothing. I set it to "Download later" to simply double
> check that it was working, but that spam keeps coming in even when I
> change it to "Delete mail from server."
> 	As an extreme example, I created another rule, that should download
> all mail later and show a confirmation dialog for all emails larger
> than 1 byte. This too does not work, since all messages (spam and
> otherwise) continue to be delivered. Are the POP3 filters simply
> there for show, and should I be looking into other means of filtering
> out spam?

It's not very intuitive, I'll grant you that. POP3 filtering has to be 
enabled first:

Settings | Configure KMail
Network | Receiving
Select the account, Modify...
X Filter messages if they are greater than [...]

The problem with filtering on the server is that KMail has to download 
the headers of *every* message that is over the specified size. This 
means that the headers of messages that don't get deleted (ie the good 
stuff) gets downloaded twice. Since a lot of spam is as small as a 
kilobyte, this results in a massive duplication of downloading if you 
set the threshold at something small. If most of your mail is junk this 
might not be a big deal, but if you're on mailing lists it can slow 
things down quite a bit. It's probably best to use a local filter 
instead, and this also allows you to check for false positives anyway.

I only use this feature for large (>50kB) messages, most of which are 
probably viruses.

David P James
Ottawa, Ontario
ICQ: #42891899, Jabber: davidpjames@jabber.org

If you've lost something, you had to lose it, not loose it.

Attachment: pgpg7VdoapWoX.pgp
Description: signature

Reply to: