This should help you get Sendmail installed with basic configuration on Ubuntu.
- If sendmail isn't installed, install it:
sudo apt-get install sendmail
- Configure
/etc/hosts
file:nano /etc/hosts
- Make sure the line looks like this:
127.0.0.1 localhost yourhostname
- Run Sendmail's config and answer 'Y' to everything:
sudo sendmailconfig
- Restart apache
sudo service apache2 restart
@SavaNETgit Hi all!
In the example above there was an address "[email protected]", you need to specify an address with a specific zone, e.g. "[email protected]" The example did not work because the service could not determine the address.
@youssman
Everything works, look in the internet for information - you need to create a certificate before installation. It hangs during installation on the generation of the certificate. Spend the time, look, I have no time. If you do not find write, I'll find)