On Sun, Feb 15, 2026 at 06:28:17PM +0800, Kevin J. McCarthy wrote:
So the unmunge script simply drops the From: header if it matches
"XXXXX via Mutt-dev" and then renames the Reply-To: header to From:.
I'm attaching the script, but please spare me any thrown tomatoes... I
if the workflow allows for omitting the advance check, then
formail -R Reply-to From -U From
does more or less the same.
if the check must be present, then
formail -X From | fgrep -c "via Mutt-dev"
could be used for that, but at this point you're writing a script again,
even if a much shorter one.
(does that count as tomatoes?)