🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by David Efflandt Sat, 01 Jul 2000 00:00
Re: [slrn] Message-ID + localhost.localdomain
#62894
Author: David Efflandt
Date: Sat, 01 Jul 2000 00:00
23 lines
1706 bytes
On Sat, 01 Jul 200o, John Bacalle <john@unixen.org.spam--me--not.invalid>
wrote:
>Why does my M-ID look so funky? =) I expected the hostname portion in my
>.slrnrc to appear. ?
>
>	Message-Id: <slrn8lqmh1.12a.john@localhost.localdomain>

What does the 'hostname' command tell you, and is there an IP address for
that name on your box?  The hostname listed in .slrnrc is 'only' used for
your From address in news postings.  It is not used for message ID or
e-mail replies.

My headers show my real hostname. but it is for a ppp IP.  I list it in
/etc/hosts under a loopback IP (127.0.0.2), so apache and sendmail can
find it when I boot.  DNS can find it when online.

-- 
David Efflandt  efflandt@xnet.com  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


Re: [slrn] Message-ID + localhost.localdomain
#62889
Author: J.B. Nicholson-Owens
Date: Sat, 01 Jul 2000 00:00
8 lines
1002 bytes
John Bacalle wrote:
> $ cat /etc/hosts
> 127.0.0.1               localhost.localdomain localhost comet

Perhaps the first entry is being used as a reverse lookup?  I'd try
prepending your fully-qualified domain name in the list.

Re: [slrn] Message-ID + localhost.localdomain
#62929
Author: David Efflandt
Date: Sun, 02 Jul 2000 00:00
73 lines
3958 bytes
On Sat, 01 Jul 2000, John Bacalle <john@unixen.org.spam--me--not.invalid>
wrote:
>* David Efflandt wrote:
>> On Sat, 01 Jul 200o, John Bacalle <john@unixen.org.spam--me--not.invalid>
>> wrote:
>> >Why does my M-ID look so funky? =) I expected the hostname portion in my
>> >.slrnrc to appear. ?
>> >
>> >	Message-Id: <slrn8lqmh1.12a.john@localhost.localdomain>
>> 
>> What does the 'hostname' command tell you, and is there an IP address for
>> that name on your box?  
>
>$ hostname
>comet
>
>$ cat /etc/hosts
>127.0.0.1               localhost.localdomain localhost comet

You should never add any names to the localhost line, but you can use any
other 127.x.x.x loopback address for other dummy names.  You might try
this:

127.0.0.1	localhost.localdomain localhost
127.0.0.2	comet

or you could have 'comet.localdomain comet' so programs will think it is a
fully qualified name.

>I use a dial-in account to get connectivity, the only IP entry I've
>made/I'm aware of is the loopback/localhost entry you see above. I don't
>know how to have applications grab the dynamically assigned addresses I
>get upon dialing-in. 

You could always do something from /etc/ppp/ip-up (or ip-up.local in
RedHat).  However, changing your hostname midstream can cause problems
with X since you suddenly do not have permission to run X programs from
that new domain unless you do a xhost +newname.

>> My headers show my real hostname. but it is for a ppp IP.  I list it in
>> /etc/hosts under a loopback IP (127.0.0.2), so apache and sendmail can
>> find it when I boot.  DNS can find it when online.
>
>OK. I'm on a PPP/dial-in situation too, so it seems your facts are very
>apropos to mine - fabulous! Now, how do I fill-out that entry for
>127.0.0.2 and my dyn-IP?
>
>Relatedly, you mention sendmail, I get email rejected due to my domain
>appearing as localhost.localdomain in my outgoing email, so this would
>help me there too or is related, no. Thank you very much for the
>previous response. ;-)

There is a way to configure your mail server so it masquerades as a
different domain, like if you have a web hostname that forwards e-mail to
you you could use that hostname.  But if you masquerade as your ISP's
domain name, make sure you only send mail from the same username you have
their.  One problem (or security feature) is that slrn does not allow you
to set the hostname for e-mail replies like pine does, so e-mail replies
go out with whatever is perceived to be your box's (or mail server's)
hostname.

But I don't know the details because I have a hostname that resolves to a
real IP on the internet.  Although, when connected to a different IP with
dynamic IP, some spam filters (like mindspring.com) rejected me because my
hostname did not match the IP I was connected with.

-- 
David Efflandt  efflandt@xnet.com  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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