The sender email on posfix smtp server is the name of the droplet, how do I change this to an actual email address?

When I send a postfix email from the server via ssh, i get the email but it says the email is from {username}@{name of droplet} . How do i make it like


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.

This guide will help you configure your MX and DNS records such that you can use your own domain for your emails: