On 29Sep2020 08:13, Chris Green <[email protected]> wrote: >On Mon, Sep 28, 2020 at 05:48:38PM -0500, Derek Martin wrote: >> I confess to some curiosity here... What are you doing in your >> home-grown MDA, that you could not already do with procmail, which (if >> you're on a Linux system at least) your mail system is most likely >> already using to deliver your mail? >> >It's all driven from one text file so that when I subscribe to a new >mailing list all I have to do is add an entry to that file. No >changing of procmail rules, no additions to muttrc. I have attached >the filter file to this message, the comments explain it at least as >well as I can here.
Nice. That is very compact. I dropped procmail years ago too, and my filer rules for eg the mutt lists look like this: mutt Mutt-Dev sender:[email protected] mutt Mutt-Dev sender:[email protected] mutt Mutt-Users [email protected] mutt Mutt-Users [email protected]@korn.aiss.de mutt Mutt-Users [email protected] mutt Mutt-Users sender:[email protected] mutt offline-imap [email protected] mutt offline-imap [email protected] mutt offline-imap sender:offlineimap-project-bounces+cs=cskk.id...@lists.alioth.debian.org Column 1 is the mail folder name. Column 2 is for the X-Label ('.' to not apply one). Column 3 is the rule. Absent a header name it matches the to/cc/bcc on the "address" part (the bit between the <> after a parse). Cheers, Cameron Simpson <[email protected]>
