Re: Claws-Mail filters -

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

 



On Sun, 4 Mar 2018 10:49:02 -0500
Bob Goodwin <bobgoodwin@xxxxxxxxxxx> wrote:

> I wanted to try Claws-Mail but after several days of sporadic
> attempts to filter messages into my usual directories I am ready to
> admit defeat and remove Claws. It was installed via dnf in this
> updated Fedora 27. I asked on the Claws list but there was no
> response.

It's a little convoluted (so is my explanation below).  Suppose I want
to send all the mail from you to a spam folder.

I would click on Tools -> Create Filter rule.  I haven't used
automatically, so I'm not sure what will happen there. To get rid of
your mail, I would click By From.  This brings up the list of current
rules.  It shows your address, but a blank action.  I click on the
Define button to the right of Action.  It brings up a window with move
as the default action.  I click on the Select, to select where I want
your mail moved.  Let's say I already have a mail folder called
spam_folder (it has to be defined in claws), and I just click on that.
Then, here's the tricky part, I have to add it to the actions before I
say OK.  Then I have to add it to the list of rules before I say OK.
Now, the filter is all set and will work.

> As a last resort perhaps someone can give me an example of a working
> set of entries for the filter menu? I tried what appeared reasonable
> based on what help I found in google but it always refused to save.

You probably skipped a step, see above.

The actual filter rules are in a file called matcherrc in the directory
~/.claws-mail.

Here is an example for folder bugzilla using one of the built-ins
(from) (should be single line, wrapped on re-editing)

enabled rulename "" from matchcase "bugzilla@xxxxxxxxxx" move
"#mh/Mailbox/bugzilla"

Here's one for a non default header component (should be single line,
wrapped on re-editing)

enabled rulename "" header "Authentication-Results" matchcase
"spf=fail" move "#mh/Mailbox/spam_folder"

If you decide to make your rules by editing the matcherrc file, be sure
that claws is not running.

Claws might not be suitable for your work flow.  So it goes.  That's
why choice is so great, we all get the tools we want to use.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux