Thread View: news.software.readers
8 messages
8 total messages
Started by David Goddard
Wed, 23 Dec 1998 00:00
slrn message-id generation changes?
Author: David Goddard
Date: Wed, 23 Dec 1998 00:00
Date: Wed, 23 Dec 1998 00:00
29 lines
1392 bytes
1392 bytes
Hi, I've recently reinstalled my OS and upgraded to slrn 0.9.5.4 from 0.9.5.2 and it seems to have changed the method of generating Message-ID headers. Previously, it seems to have been using my .slnrc hostname for the domain part of the field, but now it is actually using my machine's actual hostname. Has there been a change? Where exactly does slrn pull this new value from? (it's not clear from my setup exactly where the chosen domain is being obtained) I'm running slrn against INN on my FreeBSD 3.0 box (localhost) for whatever relevance this has... I couldn't find anything on this after a quick dig around, so any light shed on this would be greatly appreciated... TIA, Dave -- David Goddard A day without paronomasia is a day without punshine.
slrn message-id generation changes? (repost)
Author: David Goddard
Date: Fri, 08 Jan 1999 00:00
Date: Fri, 08 Jan 1999 00:00
40 lines
1863 bytes
1863 bytes
Hi, Please forgive me for reposting this one, but it drew no response and still have not been able to find an answer. I won't repost it again - if I still don't hear anyting, I'll, er, try having a look at the source <g> Dave (shamed at the uncool-ness of following up to his own posts...) I wrote: > Hi, > > I've recently reinstalled my OS and upgraded to slrn 0.9.5.4 from > 0.9.5.2 and it seems to have changed the method of generating Message-ID > headers. > > Previously, it seems to have been using my .slnrc hostname for the > domain part of the field, but now it is actually using my machine's > actual hostname. > > Has there been a change? Where exactly does slrn pull this new value > from? (it's not clear from my setup exactly where the chosen domain is being > obtained) > > I'm running slrn against INN on my FreeBSD 3.0 box (localhost) for > whatever relevance this has... > > I couldn't find anything on this after a quick dig around, so any light > shed on this would be greatly appreciated... > > TIA, > > Dave -- David Goddard The best argument against democracy is a five minute talk with the average voter - Winston Churchill
Re: slrn message-id generation changes? (repost)
Author: Thorfinn
Date: Tue, 12 Jan 1999 00:00
Date: Tue, 12 Jan 1999 00:00
24 lines
1812 bytes
1812 bytes
In news.software.readers, on 8 Jan 1999 21:58:04 GMT
David Goddard <goddard@acm.org> wrote:
[ slrn msg-id generation ]
>Has there been a change? Where exactly does slrn pull this new value
>from? (it's not clear from my setup exactly where the chosen domain is being
>obtained)
It gets it from the variable 'posting_host'. Do:
set posting_host "foo.bar.baz"
in your .slrnrc to set it. Otherwise, it will use the value returned
by gethostbyname().
Later,
Thorf
--
<a href="http://www.netizen.com.au/">thorfinn@netizen.com.au</a>
Millihelen, adj:
The amount of beauty required to launch one ship.
Re: slrn message-id generation changes? (repost)
Author: David Goddard
Date: Mon, 18 Jan 1999 00:00
Date: Mon, 18 Jan 1999 00:00
29 lines
1897 bytes
1897 bytes
Thorfinn <thorfinn@netizen.com.au> writes in news.software.readers: [where posting-host comes from] > >| It gets it from the variable 'posting_host'. Do: > >| set posting_host "foo.bar.baz" > >| in your .slrnrc to set it. [...] > >Hmm... I get a "fatal error" on startup when trying to use this > >variable. Is this due to my not-quite-up-to-date version of slrn > >(0.9.5.2)? Thanks for the reply to my post asking about this, Thorfinn. I too get an error when slrn parses this in .slrnrc :-( I'm using 0.9.5.4 (and something has definitely changed, as my massage-id's are definitely different since moving from 0.9.5.2 to 0.9.5.4, without changing .slrnrc) [typo left in :-)] > Uhh... *goes to check CHANGES file* Hrm. It doesn't say in the > changes.txt when the "posting_host" variable came into being... but it > may well be more recent than 0.9.5.2. Yep, I've had a peek at that one and can't find anything applicable... Dave -- David Goddard It is a miracle that curiosity survives formal education - Albert Einstein
Re: slrn message-id generation changes? (repost)
Author: Thorfinn
Date: Mon, 18 Jan 1999 00:00
Date: Mon, 18 Jan 1999 00:00
25 lines
2176 bytes
2176 bytes
In news.software.readers, on 15 Jan 1999 08:43:01 GMT
Thomas K. <Thomas.K@POBoxes.com> wrote:
>Thorfinn <thorfinn@netizen.com.au> schrieb / wrote:
>| It gets it from the variable 'posting_host'. Do:
>| set posting_host "foo.bar.baz"
>| in your .slrnrc to set it. [...]
>Hmm... I get a "fatal error" on startup when trying to use this
>variable. Is this due to my not-quite-up-to-date version of slrn
>(0.9.5.2)?
Uhh... *goes to check CHANGES file* Hrm. It doesn't say in the
changes.txt when the "posting_host" variable came into being... but it
may well be more recent than 0.9.5.2.
Later,
Thorf
--
<a href="http://www.netizen.com.au/">thorfinn@netizen.com.au</a>
So i get the chance to reread my postings to asr at times, with a
corresponding conservation of the almighty leviam00se, Kai Henningsen.
-- MegaHal, trained on alt.sysadmin.recovery
Re: slrn message-id generation changes? (repost)
Author: David Goddard
Date: Tue, 19 Jan 1999 00:00
Date: Tue, 19 Jan 1999 00:00
16 lines
1567 bytes
1567 bytes
Sylvan Butler writes in news.software.readers: > On 19 Jan 1999 02:07:15 GMT, Thorfinn <thorfinn@netizen.com.au> wrote: > >Oops. You're right. I'd patched my version to let me set it, because > >I wanted to be able to change it for different newsgroups. :) > > Right. Simple patch (this is for 9.5.3 but it applied fine to 9.5.4): [...] Choice. Thanks to both of you. Better get recompiling then :-) -- David Goddard A mathematician is a person who says that, when 3 people are supposed to be in a room but 5 came out, 2 have to go in so the room gets empty.
Re: slrn message-id generation changes? (repost)
Author: Thorfinn
Date: Tue, 19 Jan 1999 00:00
Date: Tue, 19 Jan 1999 00:00
38 lines
2719 bytes
2719 bytes
In news.software.readers, on 18 Jan 1999 22:28:40 GMT
David Goddard <goddard@acm.org> wrote:
>Thorfinn <thorfinn@netizen.com.au> writes in news.software.readers:
>[where posting-host comes from]
>> >| It gets it from the variable 'posting_host'. Do:
>> >| set posting_host "foo.bar.baz"
>> >| in your .slrnrc to set it. [...]
>> >Hmm... I get a "fatal error" on startup when trying to use this
>> >variable. Is this due to my not-quite-up-to-date version of slrn
>> >(0.9.5.2)?
>Thanks for the reply to my post asking about this, Thorfinn. I too get
>an error when slrn parses this in .slrnrc :-(
Oops. You're right. I'd patched my version to let me set it, because
I wanted to be able to change it for different newsgroups. :)
>I'm using 0.9.5.4 (and something has definitely changed, as my
>massage-id's are definitely different since moving from 0.9.5.2 to
>0.9.5.4, without changing .slrnrc) [typo left in :-)]
If you have SLRN_GEN_FROM_EMAIL_HEADER set in slrnfeat.h then it will
use the hostname set in .slrnrc by doing:
hostname "foo.com"
Otherwise it figures out posting_host by using gethostbyname() to find
it out, and generates the MsgId using that.
Later,
Thorf
--
<a href="http://www.netizen.com.au/">thorfinn@netizen.com.au</a>
Sweater, n.:
A garment worn by a child when its mother feels chilly.
Re: slrn message-id generation changes? (repost)
Author: Sylvan Butler
Date: Tue, 19 Jan 1999 00:00
Date: Tue, 19 Jan 1999 00:00
29 lines
2134 bytes
2134 bytes
On 19 Jan 1999 02:07:15 GMT, Thorfinn <thorfinn@netizen.com.au> wrote:
>Oops. You're right. I'd patched my version to let me set it, because
>I wanted to be able to change it for different newsgroups. :)
Right. Simple patch (this is for 9.5.3 but it applied fine to 9.5.4):
diff -ru slrn-0.9.5.3/src/startup.c slrn/src/startup.c
--- slrn-0.9.5.3/src/startup.c Sun May 3 14:06:24 1998
+++ slrn/src/startup.c Tue Sep 8 10:19:31 1998
@@ -436,6 +436,7 @@
{"username", &Slrn_User_Info.username},
{"replyto", &Slrn_User_Info.replyto},
{"organization", &Slrn_User_Info.org},
+ {"posting_host", &Slrn_User_Info.posting_host},
{"followup", &Slrn_User_Info.followup_string}, /* obsolete */
{"followup_string", &Slrn_User_Info.followup_string},
{"reply_string", &Slrn_User_Info.reply_string},
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1755
"Don't Tread On Me!"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads