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
/etc/mailname
? [The file seems to be ignored by sendmail on Debian] – AnFi Feb 05 '14 at 20:59/etc/mailname
. I would expect the sendmail to support it, but it is possible the default configuration does not.dpkg-reconfigure
would be the other way I would set the value. I have seen/etc/hosts
used as well. – BillThor Feb 06 '14 at 03:15