Skip to content

Instantly share code, notes, and snippets.

@sen0rxol0
Last active March 7, 2021 15:10
Show Gist options
  • Save sen0rxol0/bba529df7d413eaf7b3423a4f6f98aa0 to your computer and use it in GitHub Desktop.
Save sen0rxol0/bba529df7d413eaf7b3423a4f6f98aa0 to your computer and use it in GitHub Desktop.
sendmail installation
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