Step C: Edit the Sendmail.mc File - AWS Elemental Delta

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

  1. 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.

  2. 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
  3. Uncomment this line by using the Delete key and the arrow keys to delete the dnl at the beginning and end of the line.

  4. Change the text “smtp.your.provider” to the host name of the mail server that is performing the relay.

  5. Use the keys Ctrl+o to save the file, then Ctrl+x to exit Nano.