Last active
March 7, 2021 15:10
-
-
Save sen0rxol0/bba529df7d413eaf7b3423a4f6f98aa0 to your computer and use it in GitHub Desktop.
sendmail installation
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
whereis sendmail | |
// if path not found | |
sudo apt-get install sendmail | |
// make sure this is set | |
nano /etc/hosts | |
127.0.0.1 localhost localhost.localdomain | |
// Run the sendmail config and answer ‘Y’ to everything: | |
sudo sendmailconfig | |
// Restart apache | |
// sudo service apache2 restart | |
sudo systemctl restart apache2.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment