Is it possible to change/add headers to incoming mail?
raf
mutt at raf.org
Tue Dec 8 22:31:37 UTC 2020
On Tue, Dec 08, 2020 at 09:34:48PM +0000, Chris Green <cl at 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
More information about the Mutt-users
mailing list