On 09.11.22 09:12, supp...@openmbox.net wrote:
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".

the "mail" program may fill
postfix may not to use mailname, what's your myorigin setting?

what output does "postconf myorigin" produce?

what do your logs say when you send mail via "mail" command?

so what the use case of /etc/mailname?

it's debian extension for mail clients and servers, unfortunately not all of them
do you have debian or debian-based system?


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]

Reply via email to