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

Re: filters in kmail



On Thursday 01 November 2001 17:30, Mikage Sakurai wrote:
> Hello,
> i have a problem with filters in kmail: i would like that all the mail
> coming from this mailing list went to the folder "debian-kde", so i tried
> to set this filter rule:
>
> <To:>	contains      debian-kde@lists.debian.org
> and
> Cc	contains      debian-kde@lists.debian.org
>
> transfer debian-kde
>
>
> I can't understand what's wrong with it....  think it has to be something
> easy, but i have no clue
>
> thanks,
>
> Mikage

Instead of using the <To:> option, use the <To or Cc> option and just leave 
the second one blank. Also make sure that this filter is at the top of the 
list - use the up/down buttons. For example I have a spam filter which is set 
up like this:
<To or Cc> doesn't contain dpjames@home.com
-->transfer Trash

But if this spam filter is *above* the mailing list filter it will send 
mailing list items to the trash, so it is placed below. In other words KMail 
checks against my debian-kde and debian-user filters before it checks against 
my various spam filters. For spam that has my email address in it, I've got a 
couple of other filters lined up, most of them involving common spam subject 
words, such as

ADV	[don't know what this is but it's always spam]
rich
viagra
xxx
lolita
Windows Reliability
...etc.

It's quite satisfying to watch the spam accumulate in the trash and not in 
the inbox :)


-- 
David P. James
Third Year Economics
Queen's University,
Kingston, Ontario
http://members.home.com/dpjames/

The bureaucratic mentality is the only constant in the universe.
-Dr. Leonard McCoy, Star Trek IV



Reply to: