Dear all,

I'm having trouble creating Postfix config (main.cf) without explicitly writing domain name in it. I'd like both myhostname and mydomain automatically set to output of `hostname -f` or contents of /etc/mailname. However, whatever combinations of myorigin, mydomain and myhostname I define, I either receive errors or values like `hostname`.localdomain. Is it impossible, or am I missing some working combination?

I'm using Postfix 3.1.0-3 under Ubuntu 16.04.


--

With Best Regards,
Marat Khalili

Reply via email to