I have a Ubuntu server with nginx I have installed sendmail on it by running
apt-get install sendmail
I was also able to sendmail using
sendmail <my_email_address>
hello
.
the mail I received on the specified email was from myusername@ns1234.ip-12-34-23.eu. Here myusername is the username of my ubuntu machine I want to create new mail accounts like info@mydomainname.com contact@mydomainname.com etc. I have read many guides but they assume that the person is running apache2 so the folders were different from what I have