From: renaudr@free.fr
To: info-gnus-english@gnu.org
Subject: Re: group specific message IDs
Date: Sun, 06 Jul 2008 21:38:19 +0200 [thread overview]
Message-ID: <m3fxqmvm50.fsf@none.free.fr> (raw)
In-Reply-To: <g4gg2r$ugl$1@registered.motzarella.org>
On Wed, 02 Jul 2008 20:06:13 +0200, Richard G Riley <rileyrgdev@gmail.com>
said:
> (defun message-make-message-id()
> (concat "<"(message-unique-id)"@yourmachine.yourdomain.tld>"))
>
> But how can I do this ONLY for specific groups?
I am sure Ted's answer is nice but not sufficient for most purposes where one
sends news from different providers, use different mail adresses and so... I
thus don't rely on system settings for mail sending and use smtpmail instead,
for news I customize the server to connect too.
I have a little library that I am using for almost 10 years now which allows
me to customize an X-Fake header that I set in a group/topic parameter. This
basically change some sensible fields such as the From and Message-Id fields
of the header.
For message id's I use
(defun message-fake-message-id (&optional faked-config-name env)
"Fakes a unique message id base on faked configuration's machine's opinion"
(flet ((message-make-fqdn () (message-fake-fqdn faked-config-name env)))
(message-make-message-id)))
to rewrite how id's are generated.
I can send it to the group if there is some interest.
--
Renaud
prev parent reply other threads:[~2008-07-06 19:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-02 18:06 Richard G Riley
2008-07-03 13:47 ` Ted Zlatanov
2008-07-06 19:38 ` renaudr [this message]
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=m3fxqmvm50.fsf@none.free.fr \
--to=renaudr@free.fr \
--cc=info-gnus-english@gnu.org \
/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).