flushing mail: obstacles

Alexy Khrabrov (khrabrov@unagi.cis.upenn.edu)
Thu, 22 Apr 1999 01:57:12 -0400 (EDT)


I installed fetchmail and it's terrific. Now the
only thing left is to send mail away. I know
there's a million options. What I see immediately
is: UUCP v. SMTP. I didn't find the sendmail.m4
file yet, probably have it from the sources. When
I try to send mail via emacs, I see it in my
mailbox after 4 hours saying:

The original message was received at Tue, 20 Apr
1999 22:51:11 -0400
from root@localhost

----- The following addresses had transient
non-fatal errors -----
khrabrov@unagi.cis.upenn.edu

----- Transcript of session follows -----
... while talking to unagi.cis.upenn.edu.:
>>> MAIL From:<root@yaw.suffix.com> SIZE=115
<<< 451 <root@yaw.suffix.com>... Domain must
resolve
khrabrov@unagi.cis.upenn.edu... Deferred: 451
<root@yaw.suffix.com>... Domain must resolve
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

(I'm trying to send it to myself at
unagi.cis.upenn.edu.) I know I probably didn't
configure local named.boot fully -- but I added a
line

forwarders IP1 IP2

where the IPs are ATT's nameservers'.

Why does sendmail try to resolve yaw.suffix.com?
I own suffix.com, but don't have a static IP for
yaw, my local box, which I connect via ATT ppp.
Since yaw.suffix.com It doesn't exist anyways, the
return mail must come to braver@pobox.com -- but
when I say

sendmail -fbraver@pobox.com -q

to flush the queue with that "from" fake, I get
this:

The original message was received at Wed, 21 Apr
1999 02:50:48 -0400
from root@localhost

----- The following addresses had transient
non-fatal errors -----
khrabrov@unagi.cis.upenn.edu

----- Transcript of session follows -----
451
khrabrov@unagi.cis.upenn.edu...
unagi.cis.upenn.edu: Name server timeout
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

Now I read Linux Mail-HOWTO and it bluntly says
sendmail is obsolete and insecure, qmail
(www.qmail.org) is the king of the hill. It has a
manifold of little processes running without root
UID, and there's a $1K prize for breaking its
security went unclaimed. But when I try to
configure it after successful compile, I get:

Your hostname is yaw.
hard error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.

-----
Can you please advise?! Here's how I call things:
/etc/HOSTNAME is just
yaw.suffix.com

/etc/mailname is just
suffix.com

/etc/hosts has a line
192.168.0.1 yaw yaw.suffix.com

for my local ethernet.

As I said,
/etc/named.boot has a line
forwarders 204.127.129.1 204.127.160.1

where the IPs belong to ATT nameservers.

/etc/resolv.conf assigns domain att.net to search from:
domain att.net
nameserver 204.127.129.1
nameserver 204.127.160.1

So how the DEC you make mail leave the building?!

-- 
Cheers,
Alexy Khrabrov -- www.suffix.com -- Segmentation f%^(& 
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu