I am using mailutils from ubuntu 20.04 And in main.cf myorigin points to the file /etc/mailname. But I don't see a config file /etc/mailutils.conf?
Thanks. November 9, 2022 at 5:28 PM, "Marek Podmaka" <marek.podm...@digitale.sk> wrote: > > On Wed, 9 Nov 2022 at 10:12, <supp...@openmbox.net> wrote: > > > > > 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". > > > > Depends on what that "mail" command is. For example Debian can have at > least 2 different packages that provide some kind of "mail" command, > each with different command-line options and configuration. I am > currently using the package mailutils, which has a config file > /etc/mailutils.conf, where you configure which domain to add when > sending email via the "mail" command. > > -- > bye, Marki >