[6388] in RedHat Linux List
Re: sendmail pausing
daemon@ATHENA.MIT.EDU (Wayne Dyer)
Wed Nov 27 07:04:16 1996
Date: Wed, 27 Nov 1996 01:06:19 -0800
From: Wayne Dyer <dwdyer@eskimo.com>
To: redhat-list@redhat.com
In-Reply-To: <199611270447.WAA15341@elwood.probe.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Thomas Molina said:
>
> I would like to return to the "sendmail pausing" thread since I've not seen
> a satisfactory response. In a previous message (quoted below) some
> suggestions were made. I made sure the designated files contained the
> designated information and sendmail still pauses. Can someone tell me where
> to look next. The man page seems to say that sendmail wants a FQDN, but at
> the point where I boot up there is no network since my machine is a
> standalone until I fire up pppd and connect to my service provider. HELP
> please.
I did not solve my sendmail pausing problem until I hacked up
a few things. These may not have been the things that did it,
but they're the most obvious things I did. YMMV.
In the as-supplied /etc/sendmail.cf, you'll find the lines
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
If you're not logged on to the net when sendmail starts, or if you're not
running named, sendmail won't be able to determine your FQDN, especially
if you don't have a FQDN in your /etc/hosts file. I send all mail through
a host where I have a static IP address, so I just hacked it to read:
Djdwdyer.myisp.net
Now at the *same time* I changed the /etc/hosts file I use at boot time
to provide a FQDN like so:
127.0.0.1 localhost loopback
127.0.0.2 fizzbaby dwdyer.myisp.net dwdyer
Since it now works just fine, I haven't tried to find out which one of these
is the best answer, but I think it's the /etc/hosts trick. I rewrite this
file when I connect to that ISP to move the latter two names off to
the real IP number.
I'd assume this would work just fine with a bogus FQDN, provided you
restart sendmail with the proper names once you're connected. (That
way, local mail will still get through while you're offline.)
--
Wayne Dyer :: dwdyer@eskimo.com :: http://www.eskimo.com/~dwdyer/
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null