From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63429 Path: news.gmane.org!not-for-mail From: Andreas Seltenreich Newsgroups: gmane.emacs.gnus.general Subject: Re: Overriding a part of message-id when posting // suppress user-agent Date: Tue, 27 Jun 2006 09:56:17 +0200 Message-ID: <87psgvav6m.fsf@gate450.dyndns.org> References: <87mzbzf8zr.fsf@ID-24456.user.uni-berlin.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1151395280 9591 80.91.229.2 (27 Jun 2006 08:01:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jun 2006 08:01:20 +0000 (UTC) Original-X-From: ding-owner+m11956=ding+2daccount=gmane.org@lists.math.uh.edu Tue Jun 27 10:01:14 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 1Fv8VQ-0006EE-IF for ding-account@gmane.org; Tue, 27 Jun 2006 10:01:08 +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 1Fv8VM-0002ND-00 for ding-account@gmane.org; Tue, 27 Jun 2006 03:01:04 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Fv8Qz-0002Mq-00 for ding@lists.math.uh.edu; Tue, 27 Jun 2006 02:56:33 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1Fv8Qx-0001Ai-LU for ding@lists.math.uh.edu; Tue, 27 Jun 2006 02:56:32 -0500 Original-Received: from smtp1.rz.uni-karlsruhe.de ([129.13.185.217]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Fv8Qs-0000RU-00 for ; Tue, 27 Jun 2006 09:56:26 +0200 Original-Received: from rzstud2.stud.uni-karlsruhe.de (exim@rzstud2.stud.uni-karlsruhe.de [193.196.41.38]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1Fv8Qr-0008GQ-R3; Tue, 27 Jun 2006 09:56:25 +0200 Original-Received: from uwi7 by rzstud2.stud.uni-karlsruhe.de with local (Exim 4.43) id 1Fv8Qr-0002FE-KN for ding@gnus.org; Tue, 27 Jun 2006 09:56:25 +0200 Original-To: ding@gnus.org X-Face: $:F<87a[gD1?#R6S3j21cr1&C&7bd63GHC.tSdskUb}hhwG(ci*=D5kJ<_N+p9q(7-,PnG. Et.Yh --=-=-= Christoph Conrad writes: > 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. While I didn't debug what's going wrong with your customization, I think you can achieve that in a less invasive way by setting message-user-fqdn. > 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. Setting gnus-user-agent to nil seems to do this. So, does the following work for you? --8<---------------cut here---------------start------------->8--- --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (setq gnus-posting-styles '( ("test" (eval (mapcar (lambda (elt) (set (make-local-variable (car elt)) (cdr elt))) '((gnus-user-agent . nil) (message-user-fqdn . "foo.invalid"))))) ;; ... --=-=-= Content-Disposition: inline --8<---------------cut here---------------end--------------->8--- regards, andreas --=-=-=--