Re: Looking for a simple `Filter_classifier` program
dmacdoug <[email protected]> Sun, 6 Nov 2022 17:32:29 -0800
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Nov 06, 2022 at 08:46:07PM +0100, Francesco Ariis wrote: > Hello list, > tl;dr: what Filter_classifier do you use, if any? > > I filter/delete/highlight messages in my email client (mutt) using simple > regexps like > > =f mergify[bot] !~b \^Merged > # getmail mergified messages > > This is fine but as I add up more regexps, everything becomes slower and > more unwieldy. So I read getmail manual and found `Filter_classifier`. > > It seems to do what I want but each example I find on the Internet is about > ham/spam, while I am looking for something slightly different (classifying > some messages in different categories). > > I am sure I am not the first getmail user to try this, so I am asking you: > do you know/use any similar program (simple, deals with regexps, outputs a > string)? > > Thanks in advance > —F > I use procmail. I've read somewhere, probably on the debian-user list, that there is something newer than procmail that people find easier to use, but since I've been using procmail for decades it's easier to just copy and paste then edit whenever I want to add a filter recipe. I don't remember what the "easier" way is. I just have getmail send all mail to sendmail then sendmail puts it in my inbox My user directory has the .procmailrc file in it and procmail distributes mail according to the recipes in that file. Don