host/domain name question
I've got a domain registered as example-domain.com and I'd like the email that comes from there to have the format firstname.lastname@example.org. However, as it currently stands, all emails that get sent from my mailserver are from email@example.com. How can I fix this such that my emails are properly formatted?
I'm using Postfix as my MTA and dovecot for all inbound mail management.
Is it because my actual server's hostname in /etc/hosts is mail.example-domain.com? Would it be better if I just called my box example-domain.com?