Re: [OT] send all email from certain From: addresses into a spam
On Wed, Jul 03, 2019 at 11:39:22AM -0400, 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
Maildrop does exactly this. For instance,
Transforms to this snippet of .mailfilter:
if ( /^From:.*User Name/:h )
Works with exim, postfix and probably qmail OOB.