how to change hostname in sendmail

Mike Chambers mike at netlyncs.com
Thu Nov 13 14:02:06 UTC 2003


On Thu, 2003-11-13 at 04:04, Grosswiler Roger wrote:

> if i send mails from this host to another, i get rejectes because of the
> domainname /hostname. this host is just an internal host and doesn't
> figure in any dns. so i send mails in the form host.domain.tld. this form
> isn't accepted on my mailserver. how can i change in sendmail form
> host.domain.tld to domain.tld?

On the mailserver, edit /etc/mail/local-host-names and add any domains,
including aliases you want to accept email for (external or internal)
and restart sendmail.

-- 
Mike Chambers
Madisonville, KY

"Do you hear me now?....GOOD!"





More information about the users mailing list