Posted on Thu 26 July 2018

a nice improvement in maildrop

Way back in 2014, I wrote about my two stage mail filter system. At the time, I had to use a helper program called deliver-to-maildir in order to get my read messages correctly delivered as seen, rather than new.

In the intervening time, Sam Varshavchik, the primary programmer of Courier and maildrop, made some improvements. The really useful one is this:

   if (/^To:.*
   to "| /usr/local/bin/deliver-to-maildir seen $HOME/Maildir/.school/"

can now be handled like this:

   if (/^To:.*
   to $HOME/Maildir/.school/

Much cleaner, and you can either set FLAGS once at the top of your mailfilter or inside a scope just before your to delivery.

© -dsr-. Send feedback or comments via email — by continuing to use this site you agree to certain terms and conditions.

Built using Pelican. Derived from the svbhack theme by Giulio Fidente on github.