Is there a hook for modifying a To: field?

Chris Green cl at isbd.net
Tue Aug 25 12:46:52 UTC 2020


On Tue, Aug 25, 2020 at 09:52:01AM +1000, Cameron Simpson wrote:
> On 24Aug2020 10:32, 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.
> 
> Can you show the headers of such a message which produces this To: 
> header? And do you have any mutt list subscription settings for these 
> lists?
> 
> [ Personally I use (g)roup-reply and then edit the headers, but I'm 
> weird. ]
> 
Here's the headers, rather verbose I'm afraid:-

`
>From MAILER-DAEMON Tue Aug 25 12:32:32 2020
Return-Path: <ixion-bounces at ixiemaster.ixion.org.uk>
X-Original-To: chris at zbmc.eu
Delivered-To: chris at zbmc.eu
Received: from gh-forwarders.misp.co.uk (gh-forwarders.misp.co.uk [31.170.120.82])
	by esprimo.zbmc.eu (Postfix) with ESMTPS id 2E3D22C01CD
	for <chris at zbmc.eu>; Tue, 25 Aug 2020 13:32:32 +0100 (BST)
Received: from exim by mail3.eqx.gridhost.co.uk with spam-scanned (Exim 4.94)
	(envelope-from <ixion-bounces at ixiemaster.ixion.org.uk>)
	id 1kAY7r-0005xx-Jq
	for cl at isbd.net; Tue, 25 Aug 2020 13:32:31 +0100
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on spam4.gridhost.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=4.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RDNS_NONE,
	SPF_HELO_NONE,SPF_NONE,SUBJ_ALL_CAPS autolearn=ham version=3.3.2
X-Spam-RelaysUntrusted: [ ip=35.176.9.206 rdns= helo=ixiemaster.ixion.org.uk
	by=mail3.eqx.gridhost.co.uk ident=
	envfrom=ixion-bounces at ixiemaster.ixion.org.uk intl=0 id=1kAY7q-0005vF-Kz
	auth= msa=0 ] [ ip=127.0.0.1 rdns=localhost helo=!35.176.9.206!
	by=ixiemaster.ixion.org.uk ident=
	envfrom=ixion-bounces at ixiemaster.ixion.org.uk intl=0 id=1kAY7k-0004KQ-KZ
	auth= msa=0 ] [ ip=209.85.128.41 rdns=mail-wm1-f41.google.com
	helo=mail-wm1-f41.google.com by=ixiemaster.ixion.org.uk ident=
	envfrom=nowayhosey6 at gmail.com intl=0 id=1kAY7g-0004KH-4P auth= msa=0 ] [
	ip=212.159.87.235 rdns=osbornedance.plus.com. helo=OSDA00 by=smtp.gmail.com
	ident= envfrom= intl=0 id=w1sm5645301wmc.18.2020.08.25.05.32.13 auth=ESMTPSA
	msa=0 ]
Received: from [35.176.9.206] (helo=ixiemaster.ixion.org.uk)
	by mail3.eqx.gridhost.co.uk with esmtps  (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94)
	(envelope-from <ixion-bounces at ixiemaster.ixion.org.uk>)
	id 1kAY7q-0005vF-Kz; Tue, 25 Aug 2020 13:32:30 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ixion.org.uk; s=20180418;
	h=Subject:Sender:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:In-Reply-To:References:To:From; bh=ONaoaCWQ475ZCazJeIgpXfZEbUo1TaB1lNwbIHSGmSg=;
	b=cFxIfP5RMcqxWOeVx7y2nm2EDR20RzeLrPb5uZe7YkXq9k/TgSXBZl9AXnXA9JlhOXiHMafzLaYAQSy0HQu6AhAOFS0LsxdW5LV3b3uAoDZvacsVytN9M4iuBNLRWNoEEt+obt9i4GubaS7948fM6OQrSk7YHlLbUpVssD7kpi0=;
Received: from localhost ([127.0.0.1] helo=[35.176.9.206])
	by ixiemaster.ixion.org.uk with esmtp (Exim 4.84_2)
	(envelope-from <ixion-bounces at ixiemaster.ixion.org.uk>)
	id 1kAY7k-0004KQ-KZ; Tue, 25 Aug 2020 13:32:26 +0100
Received: from mail-wm1-f41.google.com ([209.85.128.41])
 by ixiemaster.ixion.org.uk with esmtp (Exim 4.84_2)
 (envelope-from <nowayhosey6 at gmail.com>) id 1kAY7g-0004KH-4P
 for ixion at ixion.org.uk; Tue, 25 Aug 2020 13:32:21 +0100
Received: by mail-wm1-f41.google.com with SMTP id y8so1036793wma.0
 for <ixion at ixion.org.uk>; Tue, 25 Aug 2020 05:32:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:references:in-reply-to:subject:date:message-id:mime-version
 :content-transfer-encoding:thread-index:content-language
 :disposition-notification-to;
 bh=ONaoaCWQ475ZCazJeIgpXfZEbUo1TaB1lNwbIHSGmSg=;
 b=OnZ/ZLddh37VN4tJkpoZBU6PuLqcuZETfnoq9YfXTAjazPlGdJPut72mXddTc26b4j
 lO4sK06OfE55WU7fHwbBGqF542IWm2LCqxbuNdKA4NC+Rmfnhkij+WtIysLALXN3BGS1
 I754BhGAWQkwmWlTbN9TPQ+L8aLR+FiB7RK/Z+zb8KQOHzXA6JM6vFWzLtQFQzmNVAXy
 /XA2VbPVphgvPe4ifP6Q4wJ62aj1TcxQzABnDmQo9myYEMQLnecF8kzDXAvS19GRtBKm
 FlHTcpqNjifcLg05k+IOvy2zzVlNT05X1kuM1LNaYwqYgwp2XFEJ3WnyPB++Edmxh/ss
 3+LA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:references:in-reply-to:subject:date
 :message-id:mime-version:content-transfer-encoding:thread-index
 :content-language:disposition-notification-to;
 bh=ONaoaCWQ475ZCazJeIgpXfZEbUo1TaB1lNwbIHSGmSg=;
 b=qIMOmEX8zodnWO68oqcgOkafe0uUhjosvqBIqbBpJ338TaKUuk0BR8p1tXcREuwjtv
 fbcYwHV6GTk67acd/BveSwzcehE3hn7EQhETi3w15uFsU7LoRfHIKUgopzbjNK2svW/x
 KEBQBVp1d8XupGWTCCWzDoRYKrd0i+X4JNyRCAM6hGHn8wFavMCx3upDiQ8hSaNqGAjl
 gXlagSMDnofgTh9pJnsGv3keRytLwWFcgfiqtV6SIa2L3mam8fTuwzhodXgXpVMlxo3B
 4ZRys7XTjnyS7qs1weSA4wHiW7pvDzyyAX7wYaQBqFEg0QnvqT+GD4IBf/tZScs16+CV
 0rrA==
X-Gm-Message-State: AOAM5304rwgc8XLdhihBnvjn4W5oeCzPJT+O2ZU9XuTlloVzbtowrPfv
 zNFI1Ewq63Ksc7iTfNNC///qTjtzg4A=
X-Google-Smtp-Source: ABdhPJw2U/+R1hh4A2YbegB1TiK5o9to7Ub4m1M+LmpXf7dVem8mewNbWShhempbPsk0cQ9bqU+0ng==
X-Received: by 2002:a1c:a385:: with SMTP id m127mr1964924wme.189.1598358734566; 
 Tue, 25 Aug 2020 05:32:14 -0700 (PDT)
Received: from OSDA00 (osbornedance.plus.com. [212.159.87.235])
 by smtp.gmail.com with ESMTPSA id w1sm5645301wmc.18.2020.08.25.05.32.13
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 25 Aug 2020 05:32:13 -0700 (PDT)
From: NWY6 <nowayhosey6 at gmail.com>
X-Google-Original-From: "NWY6" <NoWayHosey6 at gmail.com>
To: "'David Eyre'" <mrloop at gmail.com>,
	"'ixion'" <ixion at ixion.org.uk>
References: <CABka8TsGcpZx6E1FqEC6s01XWy6fDmcbLOZFOFPCjxUfsZhQmA at mail.gmail.com>
In-Reply-To: <CABka8TsGcpZx6E1FqEC6s01XWy6fDmcbLOZFOFPCjxUfsZhQmA at mail.gmail.com>
Date: Tue, 25 Aug 2020 13:32:12 +0100
Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAOS+lKNu9OlDoC+IpLaslVPiiQAAEAAAAHUJZpzSG2JHo32MOaV2984BAAAAAA==@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQHb6yi0lK5nhGIxCUGOq5iXcbNipqk94KOw
Content-Language: en-gb
X-BeenThere: ixion at ixiemaster.ixion.org.uk
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: A group of bikers chatting down the pub
 <ixion.ixiemaster.ixion.org.uk>
List-Unsubscribe: <http://ixiemaster.ixion.org.uk/cgi-bin/mailman/options/ixion>, 
 <mailto:ixion-request at ixiemaster.ixion.org.uk?subject=unsubscribe>
List-Archive: <http://ixiemaster.ixion.org.uk/cgi-bin/mailman/private/ixion/>
List-Post: <mailto:ixion at ixiemaster.ixion.org.uk>
List-Help: <mailto:ixion-request at ixiemaster.ixion.org.uk?subject=help>
List-Subscribe: <http://ixiemaster.ixion.org.uk/cgi-bin/mailman/listinfo/ixion>, 
 <mailto:ixion-request at ixiemaster.ixion.org.uk?subject=subscribe>
Errors-To: ixion-bounces at ixiemaster.ixion.org.uk
Sender: "Ixion" <ixion-bounces at ixiemaster.ixion.org.uk>
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Mail-From: ixion-bounces at ixiemaster.ixion.org.uk
Subject: RE: MIN(O)B(RCT)R
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on ixiemaster.ixion.org.uk)
Status: RO
Content-Length: 456
Lines: 20

[actual message snipped]

-- 
Chris Green


More information about the Mutt-users mailing list