I have been working on a box for a guy that will serve as a webserver
dns server and very limited mail (forward a couple of virtualusers to
outside addresses) for 10-15 small domains. 

I currently have rh 9 setup with all the latest updates and everything
is working as expected but I still have a couple of questions that
several hours of googling have not answered to my satisfaction.
Shorewall is setup to only allow ports 53, 80, 25, 123, 443

There is one nic with (currently ) 3 ipaddresses perhaps more to follow
if he decides he wants to do ssl to more than one of the sites.

The host name is set to webserver1.maindomain.com and I have
mail1.maindomain.com setup in dns as the mx record for each of the
domains.  

The first question I have is how can I get sendmail to use the name
mail1 instead of webserver1.

I was able to fix (workaround ) an error reported by dnsreport.com where
it said that the host name in the greeting was not the same as that
reported in dns  (webserver1 vs mail1) by adding 

define(`confSMTP_LOGIN_MSG',`mail1.$m')

to /etc/mail/sendmail.mc.  Greeting is fine but the headers of mail sent
still show webserver1:

Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by
        webserver1.maindomain.com

How can I change this other than resetting the hostname for the entire
server?.

The fix may be related to my next question regarding reverse dns.

I am about to mail the colo company where this server lives to request
that the reverse dns entries be added.  the mail server is pretty much
the only thing that runs on the ip that it is on call it 123.123.123.2
there will be a ssl enabled website on 123.123.123.1 and the apache
vhosts running on 123.123.123.3 btw the master dns server (forward) is
running on 123.123.123.3 also. 

should I request that all the various names like www.domain1.com and
www.domain2.com and dns1.maindomain.com be added to the reverse mapping
for 123.123.123.3?


If this is too specific I will post it to the sendmail list but I hate
to sub to yet another list.

If necessary I will post real ips and domainnames but it seems like
asking for trouble :)


TIA

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to