Skip to content

Instantly share code, notes, and snippets.

@adamstac
Last active March 27, 2025 11:27
Show Gist options
  • Save adamstac/7462202 to your computer and use it in GitHub Desktop.
Save adamstac/7462202 to your computer and use it in GitHub Desktop.

Revisions

  1. adamstac renamed this gist Nov 14, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. adamstac created this gist Nov 14, 2013.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # Install and configure Sendmail on Ubuntu

    This should help you get Sendmail installed with basic configuration on Ubuntu.

    1. If sendmail isn't installed, install it: `sudo apt-get install sendmail`
    2. Configure `/etc/hosts` file: `nano /etc/hosts`
    3. Make sure the line looks like this: `127.0.0.1 localhost yourhostname`
    4. Run Sendmail's config and answer 'Y' to everything: `sudo sendmailconfig`
    5. Restart apache `sudo service apache2 restart`