Skip to content

Instantly share code, notes, and snippets.

@mysticaltech
Forked from adamstac/gist:7462202
Created December 2, 2018 22:48

Revisions

  1. @adamstac adamstac renamed this gist Nov 14, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @adamstac 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`