Debian iTOps Tube

Tuesday, November 22, 2011

How To Configure Linux Sendmail Clients

How To Configure Linux Sendmail Clients

All Linux mail clients in your home or company need to know which server is the mail server. This is configured in the sendmail.mc file by setting the SMART_HOST statement to include the mail server. In the example below, the mail server has been set to mail.my-site.com, the mail server for the my-site.com domain.


define(`SMART_HOST',`mail.my-site.com')


If you don't have a mail server on your network, you can either create one, or use the one offered by your ISP.


Once this is done, you need to process the sendmail.mc file and restart sendmail. To do this, run the restarting script we from earlier in the chapter.


If the sendmail server is a Linux server, then the /etc/hosts file will also have to be correctly configured too.


Note: Remember to run the activate-sendmail.sh script shown at the beginning of the chapter to activate any configuration changes.

No comments:

Post a Comment