-
-
Save mysticaltech/639d7dfd4dd7e76d060d71064711f53e to your computer and use it in GitHub Desktop.
Install and configure Sendmail on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment