From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82286 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bbdb.user,gmane.emacs.gnus.general Subject: Re: bbdb-ignore-message-alist Date: Sat, 8 Sep 2012 11:18:38 -0500 Message-ID: <20555.28638.917822.416598@gargle.gargle.HOWL> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347121164 24320 80.91.229.3 (8 Sep 2012 16:19:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2012 16:19:24 +0000 (UTC) Cc: ding@gnus.org, bbdb-info@lists.sourceforge.net To: Mitchel Humpherys Original-X-From: bbdb-info-bounces@lists.sourceforge.net Sat Sep 08 18:19:26 2012 Return-path: Envelope-to: bbdb-user@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TANki-0006Pr-FL for bbdb-user@m.gmane.org; Sat, 08 Sep 2012 18:19:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1TANkD-00056u-5G; Sat, 08 Sep 2012 16:18:53 +0000 Original-Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1TANkB-00056o-Ry for bbdb-info@lists.sourceforge.net; Sat, 08 Sep 2012 16:18:51 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gnu.org designates 208.118.235.10 as permitted sender) client-ip=208.118.235.10; envelope-from=winkler@gnu.org; helo=fencepost.gnu.org; Original-Received: from fencepost.gnu.org ([208.118.235.10]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1TANk9-0003R7-H0 for bbdb-info@lists.sourceforge.net; Sat, 08 Sep 2012 16:18:51 +0000 Original-Received: from adsl-68-77-23-91.dsl.emhril.ameritech.net ([68.77.23.91]:53828 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TANk3-00029f-12; Sat, 08 Sep 2012 12:18:43 -0400 In-Reply-To: X-Mailer: VM 8.2 trial under 24.1.1 (x86_64-unknown-linux-gnu) X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1TANk9-0003R7-H0 X-BeenThere: bbdb-info@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: "Bugs, help, discussion about BBDB" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bbdb-info-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.bbdb.user:3347 gmane.emacs.gnus.general:82286 Archived-At: On Tue Aug 28 2012 Mitchel Humpherys wrote: > I'd like to configure bbdb to not auto-notice addresses in mailing > list mail. I'm trying to use the `X-Mailing-List' and > `X-Mailman-Version' headers, since those seem to be consistently > present on all the mailing lists I read, but it doesn't seem to be > working (i.e. bbdb still offers to save email addresses from mails > containing those headers)... What am I doing wrong? > > (setq bbdb-ignore-message-alist > '((("X-Mailman-Version" "X-Mailing-List") . ".*"))) I am trying to crosspost this on the gnus mailing list, too, because your problem has to do with some subtleties of Gnus that go beyond my knowledge of Gnus. Gnus has two functions for accessing headers of a message, gnus-fetch-field and gnus-fetch-original-field. The latter uses gnus-original-article-buffer. I do not know which buffer the former function is using. Only gnus-original-article-buffer contains the X-* headers you want to access. But BBDB currently uses gnus-fetch-field to access the headers of a Gnus message. So that's why BBDB believes the messages had no X-* headers. So my question is: What should BBDB do to access the headers of a Gnus message in a way that is both reliable and efficient? Thanks, Roland ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/