Trival, should be a diald FAQ: sendmail tries to get the hostname for
every network device in the system. diald adds a ``pseudo'' slip device
with a pseudo internal IP addr.
So what happens, is that sendmail tries resolve back the ip addr.
Usually that goes trough /etc/hosts and then to DNS.
Depending upon your diald config, this will bring up the connection or
not.
Easiest solution: Add 192.168.0.1 to /etc/hosts with a name like
diald-pseudo-addr or so.
Andreas
On Fri, 29 May 1998, Steven W. Orr wrote:
> I'm a little light on the technical end here so please be gentle.
>
> I'm have been running diald-0.16.4-1 and diald-config-0.1-1 for a few
> months and everything has been running like a charm. Oh yeah, Red Hat 5.0.
> with sendmail 8.8.7 and I'm running ppp with a dynamic address.
>
> Last night something happened but I don't know what. The symptom is that
> when I send a mail message, it hangs for about a minute. I looked in
> /var/log/maillog and it seems to be hanging on some gethostbyaddr. (I
> swear, I never had this problem before.
>
> May 29 09:38:53 localhost sendmail[20335]: gethostbyaddr(192.168.0.1)
> failed: 1
>
> May 29 09:38:53 localhost sendmail[20336]: JAA20336:
> Authentication-Warning: localhost.localdomain: steveo owned process doing -bs
>
> May 29 09:38:53 localhost sendmail[20336]: JAA20336:
> from=<[EMAIL PROTECTED]>, size=628, class=0, pri=30628, nrcpts=1,
> msgid=<Pine.LNX.3.96.980529093723.20333A-100000@localhost>, proto=SMTP,
> relay=steveo@localhost
>
> May 29 09:38:56 localhost sendmail[20338]: JAA20336:
> to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (501/501),
> delay=00:00:03, xdelay=00:00:02, mailer=esmtp, relay=world-f.std.com.
> [199.172.62.5], stat=Sent (Ok)
>
> I went to /etc and said
> find . -type f -print | xargs fgrep 192.168.0.1 and found that that
> address is in /etc/sysconfig/network-scripts/diald:
>
> if [ -n "${DIAL_FAIL_LIMIT}" ] ; then
> echo "dial-fail-limit ${DIAL_FAIL_LIMIT}"
> fi
> if [ -n "${IPADDR}" ] ; then
> echo "local $IPADDR"
> else
> echo "local 192.168.0.1" # SHOULD I CHANGE THIS?
> fi
> if [ -n "${REMIP}" ] ; then
> echo "remote $REMIP"
> else
> echo "remote 192.168.0.2" # AND WHAT ABOUT THIS?
> fi
> if [ -z "${REMIP}" -o -z "${IPADDR}" ] ; then
> echo "dynamic"
> fi
>
> Can someone PLEASE tell me how to proceed?
>
> Many thanks in advance.
>
> -Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
> -Stranger things have happened but none stranger than this. Steven W. Orr-
> Does your driver's license say Organ Donor?Black holes are where God \
> -------divided by zero. Listen to me! We are all individuals!---------
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]