This seems like a reasonable work around :p

On Thu, Aug 15, 2019, 7:19 PM Chris Adams via mailop <mailop@mailop.org>
wrote:

> Once upon a time, Grant Taylor <gtay...@tnetconsulting.net> said:
> > On 8/15/19 11:17 AM, Mark Milhollan via mailop wrote:
> > >perhaps a way can be found for your MUA to help you
> >
> > It's a complete hack.
> >
> > But I use procmail to doctor messages as they come into my mailbox.
> > I mostly add List-Post: header if it doesn't exist and rely on my
> > MUA's Reply List function.
> >
> > But it would be trivial to create additional rules to do something
> > like the following:
> >
> > 1)  Check if the From: header is the list.
> > 2)  Check if the Reply-To: header is set.
> > 3)  Replace the list's From: header with a synthetic From: based on
> > the contents of the Reply-To:.
>
> Here's what I do (should work for most Mailman lists):
>
> :0 f
> * ^reply-to:
> * ^x-beenthere: \/.*
> {
>         MLADDR=$MATCH
>
>         :0 f
>         * $^from: .* via .* <$MLADDR>
>         * ^reply-to: \/.*
>         | formail -i "From: $MATCH"
> }
>
> --
> Chris Adams <c...@cmadams.net>
>
> _______________________________________________
> mailop mailing list
> mailop@mailop.org
> https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop
>
_______________________________________________
mailop mailing list
mailop@mailop.org
https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop

Reply via email to