Is there a hook for modifying a To: field?
raf
mutt at raf.org
Mon Aug 24 23:15:55 UTC 2020
On Mon, Aug 24, 2020 at 10:32:56AM +0100, Chris Green <cl at isbd.net> wrote:
> I am on a mailing list which has two addresses, occasionally when one
> does L[ist reply] the To: address is:-
>
> ixion at ixiemaster.ixion.org.uk, Ixilist <ixion at ixion.org.uk>
>
> At present I normally notice this and remove one of the addresses but
> it would be nice if I could automate this. Is there a hook (send_hook
> maybe) that can be used to change this? It can't just change every
> case of either ixion at ixiemaster.ixion.org.uk or ixion at ixion.org.uk as
> most of the time a L[ist reply] only gets a single address.
>
> --
> Chris Green
It seems odd that a mailing list would have two
addresses. Presumably the are interchangeable. If so,
perhaps you could use procmail or imapfilter to replace
all instances of one of the addresses with the other as
the email arrives. That way, when you read it, mutt
only sees one of the addresses.
cheers,
raf
More information about the Mutt-users
mailing list