To configure your mail server to send outgoing emails to a specific server, you have to set up your SMTP relay with Sendmail. For setting up sendmail specify SMTP server, carry out the following simple steps.
To regenerate the configuration line, enter /etc/mail/make in the Terminal window.
Type service sendmail restart and press the Enter key to restart the mail server.