This is version 2.3 of the AWS Elemental Delta documentation. This is the latest version. For prior versions, see the Previous Versions section of AWS Elemental Delta Documentation.
Step C: Edit the Sendmail.mc File
Edit the sendmail.mc
file to update the mail server host
name.
To edit the sendmail.mc file
-
Open the
sendmail.mc
file:sudo nano /etc/mail/sendmail.mc
This opens the file in Nano. You see the cursor at the top of the screen.
-
Use the down arrow key to go to the line that defines SMART_HOST. It is just past halfway down the page.
dnl define('SMART_HOST'smtp.your.provider')dnl
-
Uncomment this line by using the Delete key and the arrow keys to delete the
dnl
at the beginning and end of the line. -
Change the text “
smtp.your.provider
” to the host name of the mail server that is performing the relay. -
Use the keys Ctrl+o to save the file, then Ctrl+x to exit Nano.