
On 15/10/2020 10.03, David Haller wrote:
Hello,
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 09.28, Carlos E. R. wrote:
On 15/10/2020 07.56, David Haller wrote:
On Wed, 14 Oct 2020, Carlos E. R. wrote:
...
127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past:
127.0.0.2 Telcontar.valinor Telcontar
Then do try that exact entry (no .2). But, admittedly, I do set 'myhostname' explicitly in main.cf. Should work without though.
When it's correct you should get:
$ hostname Telcontar $ hostname -f Telcontar.valinor $ hostname -a Telcontar localhost $ host localhost localhost has address 127.0.0.1
Before: cer@Telcontar:~> hostname Telcontar cer@Telcontar:~> hostname -f Telcontar.valinor cer@Telcontar:~> hostname -a <== Telcontar cer@Telcontar:~> host localhost localhost has address 127.0.0.1 localhost has IPv6 address ::1 cer@Telcontar:~> After: cer@Telcontar:~> hostname Telcontar cer@Telcontar:~> hostname -f Telcontar.valinor cer@Telcontar:~> hostname -a Telcontar localhost Telcontar cer@Telcontar:~> host localhost localhost has address 127.0.0.1 localhost has IPv6 address ::1 cer@Telcontar:~> Telcontar:~ # systemctl restart postfix Telcontar:~ # systemctl status postfix ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-15 17:59:19 CEST; 23s ago Process: 31997 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS) ... Telcontar:~ # mail cer Subject: test after localhost change hi . EOT Telcontar:~ # And leafnode doesn't complain :-)
Dunno about the IPv6 stuff.
It is there on mine -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)