Thank you guys for explanations and workarounds. Sorry if I hurt someone's
feelings: postfix is already great and so on. I received answer on my question
and will fill in myhostname with sed for now.
--
With Best Regards,
Marat Khalili
Viktor Dukhovni:
>
> > On Apr 19, 2017, at 12:16 PM, Marat Khalili wrote:
> >
> > I don't want to complain right away, but the proper fix would be
> > to obtain actual FQDN regardless of system default for hostname.
>
> There's no magic, the FQDN has to come from some stable source.
> As alread
> On Apr 19, 2017, at 12:16 PM, Marat Khalili wrote:
>
> I don't want to complain right away, but the proper fix would be
> to obtain actual FQDN regardless of system default for hostname.
There's no magic, the FQDN has to come from some stable source.
As already explained, DNS resolution is no
On 19/04/17 19:00, Philip Paeps wrote:
For what it's worth, I've never encountered anything that *relies* on
the weird Linux behaviour.
Well, my .bashrc ... :)
[But plenty of things that don't work around it as elegantly as
Postfix does by appending .localdomain!]
I don't want to complain rig
On 2017-04-19 18:52:56 (+0300), Marat Khalili wrote:
On 19/04/17 18:39, Philip Paeps wrote:
Linux systems often only configure their shortname with
`sethostname()` (for reasons I've never understood). If you set a
FQDN though, it will be returned with `gethostname()`.
Try to figure out wher
On 19/04/17 18:39, Philip Paeps wrote:
Linux systems often only configure their shortname with
`sethostname()` (for reasons I've never understood). If you set a
FQDN though, it will be returned with `gethostname()`.
Try to figure out where your particular flavour of Linux sets its
hostname a
On 2017-04-19 17:54:32 (+0300), Marat Khalili wrote:
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 combination
Thank you for the reply. I think my question needs clarification. I'm
trying to create single configuration file that I'd be able to clone
across different servers. Manual correction of this file for every
machine is a time-consuming and error-prone step I'd like to avoid.
All servers have sta
> On Apr 19, 2017, at 10:54 AM, Marat Khalili wrote:
>
> 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.
Email may persist in t
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 d
10 matches
Mail list logo