Hello :-)
I'm a happy mailman user :-). I have only a small problem I don't know how to fix.
I use a mailman<->inn gateway. The two software are on the same server.
when somebody write on the newsgroup, the post is sent to the list as well.
If somebody try to answer _from the list_, the "to" field of the answer have _two_ values, one for the mailing list, the other for the newsgroup. This second one is unusefull and thunderbird do not like it and one have to remoive it by hand to send the answer.
below the headers of a mail read on the mailing list and send from the newsgroup.
is there something I can do to remove the "Newsgroups: linux-31" in excess?
thanks jdd
original post (answer headers below):
Return-Path: linux-31-bounces@culte.org Received: from zimbra65-e11.priv.proxad.net (LHLO zimbra65-e11.priv.proxad.net) (172.20.243.215) by zimbra65-e11.priv.proxad.net with LMTP; Sat, 31 Mar 2012 12:55:09 +0200 (CEST) Received: from savage-reborn.culte.org (mx21-g26.priv.proxad.net [172.20.243.91]) by zimbra65-e11.priv.proxad.net (Postfix) with ESMTP id 10CE460D473 for <jdanield@free.fr>; Sat, 31 Mar 2012 12:55:08 +0200 (CEST) Received: from savage-reborn.culte.org ([82.234.76.241]) by mx1-g20.free.fr (MXproxy) for jdanield@free.fr; Sat, 31 Mar 2012 12:55:09 +0200 (CEST) X-ProXaD-SC: state=HAM score=15 Received: from savage-reborn.culte.org (localhost [127.0.0.1]) by savage-reborn.culte.org (Postfix) with ESMTP id B1F3140029; Sat, 31 Mar 2012 12:55:04 +0200 (CEST) Path: savage-reborn.culte.org!.POSTED!not-for-mail From: Pascal Hambourg <pascal.news@plouf.fr.eu.org> Newsgroups: linux-31 Date: Sat, 31 Mar 2012 12:53:35 +0200 Organization: Plouf ! Lines: 16 Message-ID: <jl6nng$je3$1@savage-reborn.culte.org> References: <jl55f8$3e8$1@savage-reborn.culte.org> NNTP-Posting-Host: plouf.fr.eu.org Mime-Version: 1.0 X-Trace: savage-reborn.culte.org 1333191216 19907 213.41.173.35 (31 Mar 2012 10:53:36 GMT) X-Complaints-To: news@culte.org NNTP-Posting-Date: Sat, 31 Mar 2012 10:53:36 +0000 (UTC) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <jl55f8$3e8$1@savage-reborn.culte.org> Xref: savage-reborn.culte.org linux-31:53 To: linux-31@culte.org Subject: Re: [Linux-31] champs from??? X-BeenThere: linux-31@culte.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: La liste de discussion du CULTe <linux-31.culte.org> List-Unsubscribe: <http://culte.org/mailman/options/linux-31>, <mailto:linux-31-request@culte.org?subject=unsubscribe> List-Archive: <http://culte.org/pipermail/linux-31> List-Post: <mailto:linux-31@culte.org> List-Help: <mailto:linux-31-request@culte.org?subject=help> List-Subscribe: <http://culte.org/mailman/listinfo/linux-31>, <mailto:linux-31-request@culte.org?subject=subscribe> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: linux-31-bounces@culte.org Sender: linux-31-bounces@culte.org
answer headers:
FCC: imap://jdanield@imap.free.fr/Sent X-Identity-Key: id17 Message-ID: <4F76FF1F.9020909@free.fr> Date: Sat, 31 Mar 2012 14:57:03 +0200 From: jdd <jdanield@free.fr> X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 Newsgroups: linux-31 X-Mozilla-News-Host: To: linux-31@culte.org Subject: Re: [Linux-31] champs from??? References: <jl55f8$3e8$1@savage-reborn.culte.org> <jl6nng$je3$1@savage-reborn.culte.org> In-Reply-To: <jl6nng$je3$1@savage-reborn.culte.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit
-- Jean-Daniel Dodin
jdd wrote:
If somebody try to answer _from the list_, the "to" field of the answer have _two_ values, one for the mailing list, the other for the newsgroup. This second one is unusefull and thunderbird do not like it and one have to remoive it by hand to send the answer.
below the headers of a mail read on the mailing list and send from the newsgroup.
is there something I can do to remove the "Newsgroups: linux-31" in excess?
You can do this a couple of ways in Mailman. The recommended way is a custom handler (because it survives Mailman upgrades). See the FAQ at <http://wiki.list.org/x/l4A9>.
The handler itself would be extremely simple, e.g. just the following two lines.
def process(mlist, msg, msgdata): del msg['newsgroups']
This removes the header in the pipeline before the message is delivered to the list.
Another possibility is to delete the header in Mailman's cron/gate_news before the message is queued in Mailman. This would require adding the line
del msg['newsgroups']
just before the lines
# Post the message to the locked list
inq = get_switchboard(mm_cfg.INQUEUE_DIR)
in cron/gate_news. This change is simpler than implementing the custom handler, but it requires re-applying the change following any Mailman update.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 31/03/2012 21:15, Mark Sapiro a écrit :
You can do this a couple of ways in Mailman. The recommended way is a
I see, thanks.
But in fact I didn't expect to have something this raw to change. I guessed I missed some setup.
is it normal to have this behavior (double to in the answer)? Previously the system was managed by ezmlm and we didn'"t have this problem (but I didn't manage it, so may be the other admin fixed something)
could this also be a thunderbird bug?
thanks jdd
-- Jean-Daniel Dodin
On 3/31/2012 2:31 PM, jdd wrote:
is it normal to have this behavior (double to in the answer)? Previously the system was managed by ezmlm and we didn'"t have this problem (but I didn't manage it, so may be the other admin fixed something)
I have no idea what ezmlm or your ezmlm<=>news gateway may have done. I know no details of ezmlm at all.
could this also be a thunderbird bug?
It is normal for messages in newsgroups to have a Newsgroups: header with the name of the group. RFC 5536 and its predecessors, RFCs 1036 and 1849 require it.
I don't know what version of T'bird you are using, but with T'bird 11.0 and 11.0.1, at least as configured on my workstations, if I 'Reply' to a message containing the headers:
From: Original Poster <poster@example.com> Newsgroups: linux-31 To: linux-31@example.org List-Post: <mailto:linux-31@culte.org>
the reply is addressed only
To: Original Poster <poster@example.com>
If I 'Reply List', the reply is addressed
To: linux-31@example.org Newsgroup: linux-31
and if I 'Reply All', the reply is addressed
To: Original Poster <poster@example.com> Cc: linux-31@example.org Newsgroup: linux-31
Some other MUAs, e.g. mutt, ignore the Newsgroups: header when generating replies.
Note that I don't see an extra To: in any of the above; just sometimes Newsgroup: in addition to To:
T'bird's behavior doesn't seem unreasonable, but if you don't like it, that's not really a Mailman issue. If you wish to remove the Newsgroups: header from messages passing through Mailman, I've told you how to do it in my prior reply.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 01/04/2012 00:59, Mark Sapiro a écrit :
T'bird's behavior doesn't seem unreasonable, but if you don't like it, that's not really a Mailman issue. If you wish to remove the Newsgroups: header from messages passing through Mailman, I've told you how to do it in my prior reply.
yes, thanks for your complete answer :-) jdd
-- Jean-Daniel Dodin
participants (2)
-
jdd
-
Mark Sapiro