Re: Filtering local Maildir

2022-04-08 Thread Piet
Hello Francsco,

yes, I think, mblaze could be my friend!

I'll test it!





Am 04/08/  schrieb Francesco Ariis:
> Hello Piet,
> 
> Il 08 aprile 2022 alle 11:39 Piet ha scritto:
> > Is there a way to define and use filters, similar to procmail etc?
> > (I guess procmail is only to use when emails are fetched externally, but
> > I like to filter the local emails.)
> 
> Depending on how taxing the filtering is you might like
> 
> mblaze - UNIX utilities to deal with Maildir
> 
> Frankly it the tasks are not complex and the maildir is not huge, I would
> just set up a `folder-hook` and live with it. E.g. I have this to empty
> my trash folder.
> 
> folder-hook trash 'push ~r>1y'
> 
> Would your use-case benefit from one of those two approaches?
> —F

-- 


Kind regards

Piet




Re: Filtering local Maildir

2022-04-08 Thread Francesco Ariis
Hello Piet,

Il 08 aprile 2022 alle 11:39 Piet ha scritto:
> Is there a way to define and use filters, similar to procmail etc?
> (I guess procmail is only to use when emails are fetched externally, but
> I like to filter the local emails.)

Depending on how taxing the filtering is you might like

mblaze - UNIX utilities to deal with Maildir

Frankly it the tasks are not complex and the maildir is not huge, I would
just set up a `folder-hook` and live with it. E.g. I have this to empty
my trash folder.

folder-hook trash 'push ~r>1y'

Would your use-case benefit from one of those two approaches?
—F