Created
January 3, 2018 02:38
-
-
Save emmanuelbarturen/acfa0213a71493b42fb1d374ec909d52 to your computer and use it in GitHub Desktop.
configure sendmail in a ubuntu droplet
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 isn't installed, install it: apt-get install sendmail | |
2) Configure hosts file correctly: nano /etc/hosts | |
Looked like: | |
127.0.1.1 myhostname myhostname | |
127.0.0.1 localhost | |
3) $ sudo sendmailconfig | |
4) test | |
$echo "Subject: sendmail test" | sendmail -v [email protected] |
See the 2 last answers in case of "Connection refused" at testing.
https://serverfault.com/questions/314429/cannot-open-etc-mail-trusted-users-group-writable-directory
now have the same number of answers as in 2018?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the 2 last answers in case of "Connection refused" at testing.
https://serverfault.com/questions/314429/cannot-open-etc-mail-trusted-users-group-writable-directory