On Tue, Dec 08, 2020 at 09:34:48PM +0000, Chris Green <c...@isbd.net> wrote:
> Are there any mutt hooks which act on incoming mail? > > So I could (for example) add a header to incoming mail which matches > certain criteria. > > -- > Chris Green for mail on an imap server, imapfilter could do it. you'd need to script it in lua. for mail delivered locally, procmail could do it. procmail could detect the need to add the header and then run it through a separate bespoke filter process to add it. cheers, raf