Hi Guys, I followed the tutorial for installing postfix and have it pretty much running. However in the mail logs i have
connect to aspmx.l.google.com[2a00:1450:400c:c05::1a]:25: Network is unreachable
reading your documentation you don’t support ipv6 so in my /etc/postfix/main.cf I changed inet_interfaces = all to inet_interfaces = ipv4. Now when I try to restart postfix i get
postfix: fatal: config variable inet_interfaces: host not found: ipv4
I’ve been trawling the internet for a day or too but I’m not very knowledgeable on this network stuff and can’t find out what to to. I think its probably my /etc/hosts file but I’m not sure what to put in there.
my /etc/hosts file is 127.0.0.1 localhost behappyhost
::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
ifconfig outputs the following eth0 Link encap:Ethernet HWaddr 04:01:09:00:d9:01 inet addr:18.104.22.168 Bcast:22.214.171.124 Mask:255.255.255.0 inet6 addr: fe80::601:9ff:fe00:d901/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33434204 errors:0 dropped:6 overruns:0 frame:0 TX packets:2249672603 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3458227348 (3.4 GB) TX bytes:99888789748 (99.8 GB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:24183 errors:0 dropped:0 overruns:0 frame:0 TX packets:24183 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18406889 (18.4 MB) TX bytes:18406889 (18.4 MB)
I’m grateful for any help Regards Roy
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!