Created
January 14, 2016 12:09
-
-
Save scriptzteam/c2391dc87f01476f7ef8 to your computer and use it in GitHub Desktop.
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
1) If sendmail is not installed, do install it: | |
apt-get install sendmail | |
2) Configure hosts file correctly: | |
nano /etc/hosts | |
And make sure the line looks like this: | |
127.0.0.1 localhost localhost.localdomain yourhostnamehere | |
3) Reload /etc/hosts, so that the previous changes take effect | |
sudo /etc/init.d/networking restart that works but seems to be deprecated, better use: | |
/etc/init.d/networking stop | |
/etc/init.d/networking start | |
4) Run the sendmail config and answer ‘Y’ to everything: | |
sendmailconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment