On Wed, Jul 03, 2019, Greg Wooledge wrote: > On Wed, Jul 03, 2019 at 06:30:32PM +0300, Reco wrote: > > I'm merely curious why you have to write a new program for this. > > I mean, there are maildrop and procmail for client-side and sieve for > > the server-side already. > > procmail might have worked, but it's more of a pain to learn procmail > than it is to write my own filter. I also get more flexibility this way. > > The write-up of my approach is at > <https://lists.debian.org/debian-user/2017/02/msg00100.html>.
Cool. For those who are friendly with perl, Email::Filter or Email::Filter::Rules provides a less cryptic alternative to procmail. I use Email::Filter with Net::IMAP::Client so that I run one filter process per mail check, rather than one process per mail when triggering the filter from a .forward file. -- Joel Roth "Welcome to the World Heat Bank, where we store your waste energy and return it with interest"