From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 06E592BF8 for ; Sat, 12 Mar 2016 19:37:48 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id l68so55212654wml.0 for ; Sat, 12 Mar 2016 10:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:organization:user-agent :mime-version:content-transfer-encoding; bh=mf4ZbyXPO2n27Df4G8uGkugA3pJwyii8d0domlQEJ4c=; b=i79rdCusi45o/qR8NYTfYl+Z4ryIr9MK1oFKZFQIJLp9udk97MDzGJjDaPSsREXu6+ 2zwhIUHI4xUVFnbhq5gIxx6dkrVsc/jFDOEiBtIriFf9DPdJlZWtT6Zgd1IXRThXukoL 126ZfziObE3YqF2Ty73dnwhj2SyoqIobQM3FHUZ4me0G13tooXEH+d7rI4Xqusbwn57Q B1XNtz4nBqHcgQCoouxtV5HrYzyKYiXHjCyMX+rewxkcVsjOgGHRvsXr9xqL/ywhjXIf 9Sq9hV+uqQrBx7ZvRX8flqw8EspSVccSSlSMOS20pWhVYzQn0g8WPlKuEH8C3A1uQyLx wfQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:mime-version:content-transfer-encoding; bh=mf4ZbyXPO2n27Df4G8uGkugA3pJwyii8d0domlQEJ4c=; b=Y9k62K0ERxf5WWViDtme+Zm99ORs801jwaQSb0GlDIoCTXftZyfzsqRYFY9omMFPp8 XvMupf+ARyyaPUkuZa+wlCP28lVImv0YuhzT6WvcXdynCpoSJ/qI3uurKahnahbNmW3x Rc91gjXxjvwhMMHz2YUzPUEbT3UMgIPVZLShOEqv67b6pfMxt4iYA2BMcOdoB/8j07AJ A9q1iepMtKSQHu2H0Lt1zRgc1g6j6yGhx4dx2oa/VfNpGXLvLCG4Dk4rcRqxTmfgxWqz ZgCHs9gbhl1IwktzwuD7l5NgHcd93RaXenAH4BRYrskx3UKrVk7dVCzQBlt2w9ckRyD4 C2hA== X-Gm-Message-State: AD7BkJKqCYPvTIhDiR9o2NzFDDbnsXkHQWA2F7KRo5f2MjEI2d5s7HuYf3EymLmo/ENnjCzs X-Received: by 10.28.145.9 with SMTP id t9mr9563382wmd.54.1457807867865; Sat, 12 Mar 2016 10:37:47 -0800 (PST) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id e19sm8124405wmd.1.2016.03.12.10.37.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Mar 2016 10:37:46 -0800 (PST) Date: Sat, 12 Mar 2016 10:37:46 -0800 (PST) X-Google-Original-Date: Sat, 12 Mar 2016 19:36 +0100 From: Thomas Monjalon To: dev@dpdk.org Cc: olivier.matz@6wind.com Message-ID: <9925556.IzvCt3AoYz@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: [dpdk-dev] mailing list configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2016 18:37:48 -0000 Hi all, Please find an information notice about mailman running this mailing list. You can change your settings at this URL: http://dpdk.org/ml/options/dev/ There is an option "nodupes": " Avoid duplicate copies of messages? When you are listed explicitly in the To: or Cc: headers of a list message, you can opt to not receive another copy from the mailing list. " It is enabled most of the time (default). It may be helpful to disable "nodupes", i.e. receive copies, to filter whole threads from the mailing list (List-Id) in a folder while keeping a copy of the messages addressed to you in your inbox. It is a way to avoid missing important messages. For those who want to keep "nodupes" enabled, i.e. receive only one copy, mailman will not send them the messages where they are explicit recipients. So they will receive only the message directly from the sender' SMTP (untouched by mailman). But it is not the full story. The other members of the mailing list will receive the message from mailman with a modified CC header. Indeed, members having enabled "nodupes" are dropped from CC list. Some members were complaining about this weird bug-haviour. That's why this patch has been applied to keep CC list untouched: --- mailman-2.1.15/Handlers/AvoidDuplicates.py +++ mailman-2.1.15/Handlers/AvoidDuplicates.py @@ -51,12 +51,8 @@ for addr in listaddrs: explicit_recips[addr.lower()] = True # Figure out the set of explicit recipients - ccaddrs = {} for header in ('to', 'cc', 'resent-to', 'resent-cc'): addrs = getaddresses(msg.get_all(header, [])) - if header == 'cc': - for name, addr in addrs: - ccaddrs[addr.lower()] = name, addr for name, addr in addrs: if not addr: continue @@ -85,8 +81,6 @@ if send_duplicate: msgdata.setdefault('add-dup-header', {})[r] = True newrecips.append(r) - elif ccaddrs.has_key(r.lower()): - del ccaddrs[r.lower()] else: # Otherwise, this is the first time they've been in the recips # list. Add them to the newrecips list and flag them as having @@ -94,7 +88,3 @@ newrecips.append(r) # Set the new list of recipients msgdata['recips'] = newrecips - # RFC 2822 specifies zero or one CC header - del msg['cc'] - if ccaddrs: - msg['Cc'] = COMMASPACE.join([formataddr(i) for i in ccaddrs.values()]) Thanks to Olivier for helping. If anyone is volunteer to work with mailman community, a configuration option could be introduced.