I have setup the domain in /etc/mailname, such as example.org. but my hostname is something like sdfsfsdf.example.org. When i send an email from terminal by "mail" commaind, the mail is sent via postfix installed on localhost, the sender address appears always as "u...@sdfsfsdf.example.org", not the expected "u...@example.org".
so what the use case of /etc/mailname? Thank you.