From: Harry Putnam <reader@newsguy.com>
Subject: Re: Forcing the sender address in Posting Styles
Date: Fri, 19 Apr 2002 21:38:25 -0700 [thread overview]
Message-ID: <m14ri7ggsd.fsf@reader.newsguy.com> (raw)
In-Reply-To: <vafg01t2vpo.fsf@lucy.cs.uni-dortmund.de>
The following message is a courtesy copy of an article
that has been posted to gnu.emacs.gnus as well.
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Harry Putnam <reader@newsguy.com> writes:
>
>> (defun message-make-fqdn ()
>> "My hacked message-id."
>> "reader.newsguy.com")
>
> You could do
>
> (defvar hp-fqdn "reader.newsguy.com")
>
> (defun message-make-fqdn ()
> "My hacked msg id."
> hp-fqdn)
>
> Then you can set hp-fqdn as a local variable in some groups. I think
> you also have to (add-to-list 'hp-fqdn 'gnus-newsgroup-variables),
> but I'm not sure.
>
> Does that work?
An odd thing happened with yours and Those's reply. Somehow they
never showed up on my usual newsguy server. Someone else mentioned
Kai's reply on ding so I tried a different server and found them.
Kai, I think I see what your plan is there, after checking out C-h v
gnus-newsgroup-variables
But would I then have to set the other hacked msg id in all others?
Also, it really wasn't clear what variable I would set hp-fqdn to.
I don't see a variable like `message-id' amongst all those starting with
message?
those who know me have no need of my name <not-a-real-address@usa.net> writes:
>>How can I stick the hack in there too?
>
> at a guess ...
>
> ((gcc-self . t)
> (posting-style
> (name "Harry Putnam")
> (address "reader@dslextreme.com"))
> ("Message-Id" (function-the-generates-a-dslextreme-id)))
Is this close to what you are suggesting:
((gcc-self . t)
(posting-style
(name "Harry Putnam")
(address "Harry Putnam <reader@dslextreme.com>"))
("Message-Id" (defun message-make-fqdn ()
"My hacked message-id."
"reader.dslextreme.com")))
If I put this in the G p buffer and save, the last line gets
converted to:
("Message-Id"
(defun message-make-fqdn nil "My hacked message-id." "reader.jtan.com")))
The other variables get set in an outgoing post but not the message-id.
next parent reply other threads:[~2002-04-20 4:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m17kn532u8.fsf@reader.newsguy.com>
[not found] ` <vafg01t2vpo.fsf@lucy.cs.uni-dortmund.de>
2002-04-20 4:38 ` Harry Putnam [this message]
2002-04-20 7:07 ` Paul Jarc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m14ri7ggsd.fsf@reader.newsguy.com \
--to=reader@newsguy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).