sendEmail trying to use ipv6

Karl Auer kauer at biplane.com.au
Mon Mar 19 13:08:53 UTC 2018


On Mon, 2018-03-19 at 12:32 +0000, David Fletcher wrote:
> it responds with:-
> Mar 19 10:53:41 serveriii sendEmail[25721]: ERROR => localhost:25
> returned a zero byte response to our query.

Is your program trying to send email to localhost? If so, check your
/etc/hosts file and make sure that localhost is not being translated
into an IPv6 address.

It looks to me as if something that never used to resolve to an IPv6
address is now resolving to an IPv6 address (possibly ONLY to an IPv6
address) and your program can't use it.

Also, look in your postfix main.cf and look for a line like
"inet_protocols = XXXX". If "XXXX" is anything except "ipv4", then
comment out the line by putting a hash symbol in front of it, and ADD
this line just below it:

inet_protocols = ipv4

... then save the file, restart postfix, and try again.

Let us know how you go.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A0CD 28F0 10BE FC21 C57C 67C1 19A6 83A4 9B0B 1D75
Old fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A






More information about the ubuntu-users mailing list