Question

Sendmail Default Domain

  • Posted September 3, 2013

I have a domain where incoming mail is handled through outlook.com and it is working fine. I also have a web form to email script that sends the occasional message. Those messages are sent from @localhost.com. How do I configure Sendmail to identify itself as the domain which is actually hosted in the droplet?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Try this: <br> <br><pre>mail -aFrom:someone@example.com -s ‘Test’ youremail@address.com</pre>