My company's servers are having some curious issues sending some email to google, running exim on Debian.
Exim version 4.94.2 #2 built 13-Jul-2021 16:04:57
The error seems unique to sending to google; we are sending around 12.5k messages/day to a wide variety of recipients.
The error is along the following lines:
2022-06-01 11:42:55 1nwHaM-004E3d-7A H=alt2.aspmx.l.google.com [142.251.9.27] TLS error on connection (recv): Error in the pull function.
2022-06-01 11:42:55 1nwHaM-004E3d-7A H=alt2.aspmx.l.google.com [142.251.9.27]: Remote host closed connection in response to end of data
2022-06-01 11:42:55 1nwHaM-004E3d-7A == support@xxxxxxxx R=dnslookup T=remote_smtp defer (-18) H=alt2.aspmx.l.google.com [142.251.9.27]: Remote host closed connection in response to end of data
Here is the (slightly anonymised) output from `swaks -a -tls -q HELO -s 127.0.0.1:25 -ap '<>'`
root@mailserver:/etc/exim4# swaks -a -tls -q HELO -s 127.0.0.1:25 -ap '<>'
Username:
=== Trying 127.0.0.1:25...
=== Connected to 127.0.0.1.
<- 220 mailserver.xxxxxx.net ESMTP Exim 4.94.2 Wed, 01 Jun 2022 12:02:32 +0100
-> EHLO mailserver.xxxxxx.net
<- 250-mailserver.xxxxxx.net Hello mailserver.rotamap.net [127.0.0.1]
<- 250-SIZE 52428800
<- 250-8BITMIME
<- 250-PIPELINING
<- 250-PIPE_CONNECT
<- 250-CHUNKING
<- 250-STARTTLS
<- 250-PRDR
<- 250-SMTPUTF8
<- 250 HELP
-> STARTTLS
<- 220 TLS go ahead
=== TLS started with cipher TLSv1.3:TLS_AES_256_GCM_SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/CN=*.xxxxxx.net"
~> EHLO mailserver.xxxxxx.net
<~ 250-mailserver.xxxxxx.net Hello mailserver.rotamap.net [127.0.0.1]
<~ 250-SIZE 52428800
<~ 250-8BITMIME
<~ 250-PIPELINING
<~ 250-PIPE_CONNECT
<~ 250-CHUNKING
<~ 250-PRDR
<~ 250-SMTPUTF8
<~ 250 HELP
~> QUIT
<~ 221 mailserver.xxxxxx.net closing connection
Any thoughts?
Many thanks,
Rory