I found the reason why

Debian uses a file named /etc/mailname

https://wiki.debian.org/EtcMailName

If this file is set with another name it seems to be the case that Postfix uses this file even if I have explicitely overwritten the

myorigin

with another value.

I'm still a little bit confused how that works out but that seems to be the case.

Greetings
Tobias

On 7/18/19 5:12 PM, Wietse Venema wrote:
Tobias K?ck:
Hi,

I have setup

myorigin=mydomain.de

but if I send an email with MUTT emai client or with 'echo "test" |
mail' s...@email.de I get as email source

usern...@mail.mydomain.de (the name of the mailserver).

What is the output from:

        $ postconf myorigin

If that is really mydomain.de, then mutt is giving Postfix
the wrong sender address, and you need to configure mutt.

        Wietse

Reply via email to