Gnus development mailing list
 help / color / mirror / Atom feed
* Overriding a part of message-id when posting // suppress user-agent
@ 2006-06-27  5:44 Christoph Conrad
  2006-06-27  7:56 ` Andreas Seltenreich
  2006-06-27  8:25 ` Reiner Steib
  0 siblings, 2 replies; 5+ messages in thread
From: Christoph Conrad @ 2006-06-27  5:44 UTC (permalink / raw)


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"))))




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-27  8:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-27  5:44 Overriding a part of message-id when posting // suppress user-agent Christoph Conrad
2006-06-27  7:56 ` Andreas Seltenreich
2006-06-27  8:22   ` Christoph Conrad
2006-06-27  8:25 ` Reiner Steib
2006-06-27  8:42   ` Christoph Conrad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).