Article View: news.software.readers
Article #62929Re: [slrn] Message-ID + localhost.localdomain
From: David Efflandt
Date: Sun, 02 Jul 2000 00:00
Date: Sun, 02 Jul 2000 00:00
73 lines
3958 bytes
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/
Technical Details
Message-ID:
<slrn8lti51.87a.efflandt@efflandt.xnet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn8lrdf4.214.john@localhost.localdomain> <slrn8lsln2.74b.efflandt@efflandt.xnet.com> <slrn8lsqde.vk.john@localhost.localdomain>Show Full Headers
Complete Article Headers
Message-ID: <slrn8lti51.87a.efflandt@efflandt.xnet.com> Subject: Re: [slrn] Message-ID + localhost.localdomain Date: Sun, 02 Jul 2000 00:00:00 +0000 From: efflandt@xnet.com (David Efflandt) References: <slrn8lrdf4.214.john@localhost.localdomain> <slrn8lsln2.74b.efflandt@efflandt.xnet.com> <slrn8lsqde.vk.john@localhost.localdomain> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 641395705 X-Complaints-To: abuse@xnet.com X-Trace: flood.xnet.com 962513087 28600 199.245.227.117 (2 Jul 2000 04:44:47 GMT) Organization: XNet Information Systems, Inc. User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: efflandt@xnet.com NNTP-Posting-Date: 2 Jul 2000 04:44:47 GMT Newsgroups: news.software.readers