On Mon, 2003-09-08 at 06:19, Cowles, Steve wrote:
> Bret Hughes wrote:
> 
> [snip]
>  
> > 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?. 
> 
> In addition to what Steve and Roldolfo have already said...
> 
> I added the following to my .mc file to address your question.
> 
> define(`confDOMAIN_NAME',`mail.mydomain.tld')dnl
> 

Yep that did it Thanks.

Bret


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

Reply via email to