Showing posts with label sendmail local-host-names example file support help reload changes. Show all posts
Showing posts with label sendmail local-host-names example file support help reload changes. Show all posts

Thursday, July 24, 2008

Sendmail support - local-host-names file

This file is very simple, and does nothing else besides specifying what domains names is hosted on the server. Any domain name found in this file, will expect to find entries in the virtusertable file as well. If you have only one domain on this server, then you will have your domain in this file, and in the relay-domains file, and only users set up in the /etc/passwd file.

simply edit the file and add your domain name by issuing the command:

" vi /etc/mail/virtusertable"

Inside this file , add only your domain name like

lds.za.net
google.com
linuxhelp.za.net

write and save the file, and that is it. Add all the domain names you add here into the /etc/mail/relay-domains file as well. you will see that by default the relay-domains file does not exist, so just create it ;-)

That is all I can say about that file ;-)