Re: claws mail- filtering on hardy



richard wrote:

Hi, anyone out there who's an expert on mail filtering with claws mail.
I'd like to auto filter lists so that anything that I haven't started
gets moved to junk.

The typical way to do that is to generate a unique Message-ID and
then filter on the References header. Works fine unless someone
breaks that header.

In your case I'd create a filter for the account you're using for
lists something like...

~references matchcase "@g8jvm" | ~header "Message-ID" matchcase "@g8jvm"

That should trigger if the string "@g8jvm" isn't found in the
Message-ID or References header. The ~ means NOT and the | means
OR. And the "@g8jvm" seems unique enough. It's your machine name
basically, with the @ sign attached. That's how Claws-Mail
generates message ID's.

Set an action of...

mark_as_read move "#mh/Mailbox/Junk"

Make sure the folder "Junk" exists of course.

That will mark messages that don't have your "fingerprints" on them
read, and get them out of your way. You can also just send them to
the trash folder and have them deleted when your trash is normally
taken out, or flat out delete them on the spot. I'd go with moving
them to a folder until you know the filter works perfectly. I didn't
test it myself. ;)

--
\|/ A lie gets halfway around the world before the
(. .) truth has a chance to get its pants on.
-ooo-(_)-ooo----------------------[ Sir Winston Churchill ]---
http://wrench.homelinux.net/~jeff/


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Exchange 2003 Outlook - Email in Junk Folders
    ... First I want to explain how the junk email folder work with internal emails: ... such as Outlook or Outlook Web Access will receive an SCL stamp of -1. ... messages either don't go through Intelligent Message Filter and do not ...
    (microsoft.public.windows.server.sbs)
  • New, revised list of spyware-related IPs
    ... replaced those filters with complete filters of Internetfuel. ... This IP blocklist is intended to be used to block known spyware sites ... This will filter Alexa while ... able to delete rules in the previous lists which block traffic to and ...
    (comp.security.firewalls)
  • Re: Outlook Junk filter / blocked senders list
    ... You have a fundamental configuration problem. ... junk mail filter and it works great. ... Other than that I can't think of anything that would keep the filter ... The fact that you are able to add to the good/bad lists ...
    (microsoft.public.outlook)
  • Re: Ask EU: broadband usage
    ... many settings but I do recommend looking through them and trying to make ... messages from one or more folder that meet the criteria you define. ... The junk mail filter starts to work well quite soon after you start ...
    (uk.media.radio.archers)
  • Re: Junk Mail & Rules
    ... Rules run first, then the junk filter. ... move them into a folder. ... >> if the recived mail is picked up by the Junk Mail filter. ...
    (microsoft.public.outlook)