Thread View: news.software.readers
2 messages
2 total messages
Started by Jim Irwin
Fri, 01 Aug 1997 00:00
slrn message-id generation
Author: Jim Irwin
Date: Fri, 01 Aug 1997 00:00
Date: Fri, 01 Aug 1997 00:00
50 lines
2506 bytes
2506 bytes
I am using slrn 0.9.4.3 on a standalone Linux machine with a dialup (ppp) connection only and I have no registered domain. I had been using a bogus domain name in /etc/hosts and /etc/resolv.conf but I have done away with that and now have only a machine name (troglodyte) in /etc/hosts: 0.0.0.0 troglodyte The result of this is that none of the programs that attempt to find the FQDN of my machine are able to do so. INN, in particular, will not accept an article for posting if it cannot determine the FQDN. (I use suck to download a few groups and then read news off the local spool.) In slrn/changes.txt, it says: > slrn now generates its own message id provided that it can > find the machines fully qualified domain name (FQDN) but no mention is made of how to make slrn generate a message-id when it is unable to find the FQDN. I have been able to get slrn to do this though by editing slrn/src/sysconf.h : #define USE_DOMAIN_NAME 0 and slrn/src/slrnfeat.h : #define SLRN_FORCE_INEWS 0 There is only one catch, and that is that the first attempt to post a message in a slrn session will fail as follows: (these are the messages in the slrn status line after I finish composing the message and have exited vi) Post the message? Yes,No,Edit,poStpone (I choose Y and get...) Article rejected: 441 Can't generate Message-ID: no such article or directory (this message is displayed for about 2 seconds then...) Select one: Repost,Edit,Cancel (I choose R and again get...) Post the message? Yes,No,Edit,poStpone This time, choosing Y results in the article being posted successfully. It is only necessary to go through this for the first posting attempt in a session. All following posts are accepted. This is therefore only a minor inconvenience but I am still wondering if there is a way to avoid even this first failure. Does anybody out there have the solution? TIA. -- Jim Irwin <jirwin@mail.netshop.net> running (..um..walking) Linux 2.0.30
Re: slrn message-id generation
Author: Greg Wooledge
Date: Sat, 02 Aug 1997 00:00
Date: Sat, 02 Aug 1997 00:00
46 lines
2622 bytes
2622 bytes
On 1 Aug 1997 18:49:12 GMT, Jim Irwin <jirwin@mail.netshop.net> wrote: >I am using slrn 0.9.4.3 on a standalone Linux machine with >a dialup (ppp) connection only and I have no registered >domain. I had been using a bogus domain name in /etc/hosts >and /etc/resolv.conf but I have done away with that and >now have only a machine name (troglodyte) in /etc/hosts: >0.0.0.0 troglodyte Make it something with a dot in the middle of it, so that it looks like a FQDN. I use this: 192.168.0.1 phoenix.local phoenix (The IP address in this case is one end of the virtual SLIP interface set up under diald. That particular address is one of the "bogus addresses" used for strictly local networks; if that address were to be used on the real Internet, it wouldn't reach anything.) Now, certain programs will get "phoenix.local" as my FQDN, which should satisfy them. Of course, if I'm generating a From: header on a mail or news article, then I have to replace everything, but you already know about that. :-) Since I'm feeling wordy, I'll add one more thing: I really, really like diald, but with a dynamic IP address it has a couple disadvantages. The most important, for me, is that I cannot run named any more. I now have to rely on my ISP's (and a couple more, for backup) DNS servers. This is slower (requires modem work and lag), and *FAR* less reliable (my ISP uses WinNT machines...). The other disadvantage is that an attempt to access a site using a hard-coded IP address will fail on the first attempt, unless I happen to be connected already. There's a discussion of this in the diald docs. For me, the advantages far outweigh the disadvantages. I'm using C news locally, not INN; I don't think that matters, but be warned just in case. Hope this helps. -- ------------ Greg Wooledge ------------- ------- wooledge@kellnet.com ------- --- http://kellnet.com/wooledge/main.html ---
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