[OLUG] sendmail/DNS woes
brian at bstc.net
brian at bstc.net
Wed May 31 03:11:17 UTC 2000
the dns you have setup ( whatever 199.221.35.1 is ) doesn't look like
it is setup correctly, what does the output of this command look like:
`host -t mx yahoo.com 199.221.35.1`
if it does _not_ look like this:
[root at gomer /root]# host -t mx yahoo.com 192.168.10.2
Using domain server 192.168.10.2:
yahoo.com mail is handled (pri=0) by mx1.mail.yahoo.com
yahoo.com mail is handled (pri=1) by mx2.mail.yahoo.com
[root at gomer /root]#
then there is a configuration issue on the machine you setup as a
nameserver in /etc/resolv.conf
Brian Roberson
OLUG Founder,
President,
Brainstorm Technologies
brian at bstc.net
-----Original Message-----
From: thehaas [mailto:thehaas at binary.net]
Sent: Tuesday, May 30, 2000 6:44 PM
To: olug
Cc: thehaas
Subject: FW: [OLUG] sendmail/DNS woes
Let me explain what I am trying to do, then I will tell you what is
wrong.
At work, we would like to send Internet email through some UNIX
machines.
The easiest way to do this is to relay the mail off of our internal
mail
server. However, we can only send relay internal mail off of the mail
server - all other mail is rejected for policy reasons.
So now we are on Plan B. I'm setting up a Linux machine that we can use
to relay the mail. How I set up bind on that machine is that the
machine
knows about the internal network and forwards all other DNS requests to
our firewall. This seems to work, at first:
mikeh at mikeh:~ > nslookup
Default Server: localhost.gsi.com
Address: 127.0.0.1
> set q=mx
> yahoo.com
Server: localhost.gsi.com
Address: 127.0.0.1
Non-authoritative answer:
yahoo.com preference = 1, mail exchanger = mx2.mail.yahoo.com
yahoo.com preference = 0, mail exchanger = mx1.mail.yahoo.com
However, when I try to send mail to it, I get this:
mikeh at mikeh:~ > /usr/lib/sendmail -v thehaas at yahoo.com
test
.
thehaas at yahoo.com... Host unknown (Name server: 199.221.35.1: host not
found)
/home/mikeh/dead.letter... Saved message in /home/mikeh/dead.letter
Postmaster... aliased to root
root... Connecting to local...
root... Sent
Okay, so what's happening?? To me, it looks like sendmail is not
parsing
the line correctly - it thinks that thehaas at yahoo.com is a machine, not
an address.
Anyone have any suggestions??? Or perhaps there is an easier way to do
this?
- mikeh
--
Mike Hostetler
thehaas at binary.net
http://www.binary.net/thehaas
GnuPG key: http://www.binary.net/thehaas/mikeh.gpg
"What good is having someone who can walk on water if you don't follow
in his footsteps?"
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list