#976099 mailutils: source address problem

Package:
mailutils
Source:
mailutils
Description:
GNU mailutils utilities for handling mail
Submitter:
Date:
2020-11-29 18:12:03 UTC
Severity:
normal
#976099#5
Date:
2020-11-29 18:00:30 UTC
From:
To:
Dear Maintainer,

I am using Debian 10 and I am bulding a server with a mail.someurl.com hostname and an MX entry for someurl.com.

I have setup

myorigin = /etc/mailname

and /etc/mailname has

someurl.com

as an entry.

If I test it with

echo "test"| mail destination-address@gmail.com

(mail comes from the mailutils package)

I unfortunately still get the johannes@mail.someurl.com source address.

Greetings,
Tobias