PostFix send emails as domain.localdomain instead of domain.org
So, I,ve setup up postfix in my server following this article https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-16-04. Whe i make the indicated test of the article mails are reviced as firstname.lastname@example.org instead of the desire @innovaclub.org. I uncommented the myorigin = /etc/mailname line and edited the mailname file adding innovaclub.org in the firstline but still not working. Any help will be much appreciatte.
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.