From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63428 Path: news.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Overriding a part of message-id when posting // suppress user-agent Date: Tue, 27 Jun 2006 07:44:24 +0200 Message-ID: <87mzbzf8zr.fsf@ID-24456.user.uni-berlin.de> Reply-To: Christoph Conrad NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1151387620 19699 80.91.229.2 (27 Jun 2006 05:53:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jun 2006 05:53:40 +0000 (UTC) Original-X-From: ding-owner+m11955@lists.math.uh.edu Tue Jun 27 07:53:33 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fv6Vv-0003ES-UR for ding-account@gmane.org; Tue, 27 Jun 2006 07:53:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Fv6VJ-0002Df-00; Tue, 27 Jun 2006 00:52:53 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Fv6Rs-0002DX-00 for ding@lists.math.uh.edu; Tue, 27 Jun 2006 00:49:20 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1Fv6Rp-0000XI-9Z for ding@lists.math.uh.edu; Tue, 27 Jun 2006 00:49:20 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Fv6Rj-0006vK-00 for ; Tue, 27 Jun 2006 07:49:11 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fv6Rd-0002bF-Gw for ding@gnus.org; Tue, 27 Jun 2006 07:49:05 +0200 Original-Received: from p50891ac8.dip0.t-ipconnect.de ([80.137.26.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jun 2006 07:49:05 +0200 Original-Received: from christoph.conrad by p50891ac8.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jun 2006 07:49:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p50891ac8.dip0.t-ipconnect.de X-Now-Playing: artist - Track 03 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:bZKoBiQS4Ykxnhpx3ULG4DI7eUU= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63428 Archived-At: Hi, i want to override a part of the message id when posting in a specific newsgroup. So far i use the code copied below. But that does not work. I can't figure out why. Additionally i want to suppress the generation of the user-agent only in this group. Adding (User-Agent nil) to the group parameters also does not suppress the header. Best wishes, Christoph (add-to-list 'gnus-newsgroup-variables 'mid-identifiable-part) (setq gnus-posting-styles '((".*" ... (eval (setq mid-identifiable-part "@ID-24456.user.uni-berlin.de")) (eval-after-load "nnmail" '(defun nnmail-message-id () (concat "<" (message-unique-id) mid-identifiable-part ">"))) (eval-after-load "message" '(defun message-make-message-id () (concat "<" (message-unique-id) mid-identifiable-part ">"))) Additionally in the group parameters of the newsgroup: ((timestamp 17568 50471) (posting-style (eval (setq mid-identifiable-part "@879879879898z.de"))))