-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Am Sa den 28. Apr 2018 um  7:09 schrieb Hartmut Figge:
> I do not know why my machine suddenly local uses IPv6 instead of IPv4. I
> noticed it today when I was unable to retrieve mail. syslog now shows
[...]
> ----- /etc/hosts -----
> # IPv4 and IPv6 localhost aliases
> 127.0.0.1 localhost
> # ::1   localhost
> ---------------
> 
> Commenting out the last line helped and I could get my mails. But that
> is really a dirty trick. *g*.

You might add the following line in /etc/gai.conf:
   precedence ::ffff:0:0/96  100

instead of
   precedence ::ffff:0:0/96  10

Note that you need the full precedence-block if it is commented out.
Just change that line.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <kl...@ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlrkGZwACgkQpnwKsYAZ
9qyl0AwAgwC/epv2/DBq57K1s3iN3uTeI66rnqPBOdsT2o1Sp7AdMrdC+F7waUlE
oHDru9LQ00mdQqWG375exXoVlMXseeejNVwLvMaMig8kD2EdQQFHpOGakaqx2JZ0
lsnPGS8pd1BRf/uOOslr0TLL9a33wTeJfdR92n3I93ChFbYXV/PhZa9elTlq0v6+
srcVP3M1ioZ5fh20EeZETm5amiUdm4cKsYH9+8bH6NJKFYJJodJE08CZyNC8uuSi
8E3lFceNTE4+plKfH8Y87rfqeMhBHLLINGfzgYsv314ldPIEUPu0RXAc+M1ZRGZc
aj+XOlzo1XtKwlEKhZpG1hgKmHgJ49IO5ZBKzQmtRfIEzTP1xi0VhBIFvMYh6q5S
7soBxrc6girhq0NVfoIJ1MzYgIFqnTP24YamiJifQ1SdxaCHazIqBm0c8nIjAwCL
Al99W6tzO807GGMEb+VShc+VUKOOHLGYfPAQ2tf5VzhXVRzCBGFq3CwfHL4bTj+H
u1No3mDq
=pqnf
-----END PGP SIGNATURE-----

Reply via email to