[plug] controlling GNU mail sender address

Gregory Orange home at oranges.id.au
Tue Oct 20 02:19:05 UTC 2015

On 19 October 2015 at 17:57, James Henstridge <james at jamesh.id.au> wrote:
> On 16 October 2015 at 22:11, Gregory Orange <home at oranges.id.au> wrote:
>> I can make it work with:
>> echo "some body" | mail -r "user at mydomain.com" -s "some subject" recipient at recipient.example.com
>> I would like to make it work with configuration instead of a command
> Ubuntu (so presumably also Mythbuntu) follows the Debian /etc/mailname
> policy here:
> https://wiki.debian.org/EtcMailName

I'm pleased to read that is how it should behave...

> So if you create a /etc/mailname file containing the mail domain you
> want, it should be respected by the MTA.

But that was already in place, as well as:

$ postconf myorigin
myorigin = /etc/mailname

Is mailutils choosing its own domain, thereby putting the domain in
before postfix gets a chance to do so?


Gregory Orange

More information about the plug mailing list