On Sun, 13 Feb 2000, mhobgood wrote:
> I have been trying to set up my machine to use non-gui only.  Email is a
> problem I haven't been able to get properly working.  Here is what I've done so
> far:
> 
> configure ppp (version 2.3.10) and its scripts.  They work and I can dial my
> ISP and logon.  The script is set up for "noipdefault" as my ISP dynamically
> assigns me an IP address.
> 
> configure /etc/hosts as:
> #for loopbacking
>       127.0.0.1       localhost
>       127.0.0.1       localhost.localdomain   brightstar
>       208.128.111.10  inet-direct.com
> #end hosts

There are several ways, i prefer the easy way, just leave it as is,

127.0.0.0  localhost

You have 2 enteries for one host, that cant be.

> In this file 208.128.111.10 is the IP address of my ISP (inet-direct.com)
>       
> configure /etc/resolv.conf as:
>       nameserver      208.128.111.10
> 
> Here is what I've found by experimenting with these files.
> 
> 1. If I make resolv.conf different from what I have, lynx and ftp don't work. 
> They keep telling me they can't find the appropriate host.  So, as far as I can
> tell this file should be ok.

If a host is not defined in /etc/hosts most programs will want to
resolve the hostname and map an IPaddress, all except sendmail,
sendmail will still do a dns lookup even if the host is defined in
/etc/hosts.

> 
> 2. Using Mutt as a email tool, if I remove all info from resolv.conf it will
> still work, as long as I leave the entry in hosts for inet-direct.com.  If I
> take out the entry in hosts for inet-direct.com but leave the resolv.conf file
> intact, then Mutt complains that no POP host can be found.  The Muttrc is set
> up for inet-direct.com.

Same thing is happening here, as far as i see it.

> 
> 3. Configured as above, lynx, ftp, etc work very well.  Mutt will send and
> receive email ok as well.  The problem I have not be able to fix is the "From"
> address that Mutt puts on my outgoing mail.  It will send it out as
> "[EMAIL PROTECTED] (I am using root until I get the problem fixed,
> then will not be online as root.).

Allocate a proper hostname for your machine. /etc/HOSTNAME

> 
> 4.   From what I've read, the problem seems to be
> somewhere in the name I given my machine and the way IP addressing works. 
> Unfortunately, Slackware 7.0 doesn't come with a "Network Howto" and I've been
> relying on other material that I've read.  Specifically, I've read that if you
> have no ethernet card installed (and I do not have an ethernet card installed)
> you can pick any name for the machine, but need to have something.  You also
> need the loopback device.  I can understand Mutt not using the resolv.conf file
> and using the hosts file only.  If this is the case, how can I get it to append
> "@inet-direct.com" onto the user name?  If I can do this, email should go out
> properly addressed.  I could probably live with the system as it is but most
> folks just "reply to sender" and if they do, I will never receive it.  

/usr/doc/Linux-HOWTOs/NET3-4-HOWTO

> 
> 5.  After re-reading the above, I hope someone can understand what I'm trying
> to say.  It isn't that clear and regretably I cannot think how to make it
> clearer.  If someone can point me in the correct direction, even the location
> of a HOWTO, I would greatly appreciate it.  GUI's are fine for some stuff, but
> I do most of my work the old fashioned console way.  Also, not knowing what
> other information may be needed, I've included the following just in case.

A man after my own hart.

> 
> Hostname for my machine is:   brightstar
> System is Slackware 7.0 with kernel 2.2.13
> Mutt is 1.0i

How have you defined the hostname, and what does /etc/HOSTNAME say.

> 
> 
> Cordially,
> Michael Hobgood
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to