Mailing List Archive

[Bug 2709] SMTP Error 451
https://bugs.exim.org/show_bug.cgi?id=2709

faca5 <studiofaca@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |studiofaca@gmail.com

--- Comment #4 from faca5 <studiofaca@gmail.com> ---
Hello.

We have same problem with latest version of Exim.

Version:
Exim version 4.95

Error:
451 Temporary local problem - please try later

SMTP:
host lookup did not complete

Description:
Error is very random.
Error appear on localhost as on external SMTP servers.
Different location, data centers etc...
Error appear few months ago for few days. Then disappear.
Yesterday again appear. In mid time no changes has been done.
With similar settings on old version of Exim 3 it works without these errors in
that way.

Note:
We have our IP address on white list.

Any idea how to fix?

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2709] SMTP Error 451 [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2709

--- Comment #5 from faca5 <studiofaca@gmail.com> ---
Log error local host:
2022-08-11 07:09:44 1oM0Rz-0004DZ-SN <= *** H=(***) [***]:51620 P=esmtpsa
X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 A=dovecot_login:*** S=4602
id=00a101d8ad40$91dbc140$b59343c0$@*** T="***" for ***@gmail.com
2022-08-11 07:09:44 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1oM0Rz-0004DZ-SN
2022-08-11 07:09:44 1oM0Rz-0004DZ-SN Sender identification U=*** D=*** S=***
2022-08-11 07:09:44 1oM0Rz-0004DZ-SN smtp connection outbound 1660194584
1oM0Rz-0004DZ-SN *** ***@gmail.com
2022-08-11 07:09:46 smtp connection from (***) [***]:51620 closed by QUIT
2022-08-11 07:10:04 1oM0Rz-0004DZ-SN == ***@gmail.com R=dkim_lookuphost defer
(-1): host lookup did not complete


Log success local host:
2022-08-11 07:10:59 1oM0TD-0004GD-DR <= *** H=(***) [***]:51548 P=esmtpsa
X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 A=dovecot_login:*** S=4603
id=00ae01d8ad40$bee12d10$3ca38730$@*** T="***" for ***@gmail.com
2022-08-11 07:10:59 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1oM0TD-0004GD-DR
2022-08-11 07:10:59 1oM0TD-0004GD-DR Sender identification U=*** D=*** S=***
2022-08-11 07:10:59 1oM0TD-0004GD-DR smtp connection outbound 1660194659
1oM0TD-0004GD-DR *** ***@gmail.com
2022-08-11 07:11:02 smtp connection from (***) [***]:51548 closed by QUIT
2022-08-11 07:11:05 1oM0TD-0004GD-DR => ***@gmail.com R=dkim_lookuphost
T=dkim_remote_smtp H=g***.google.com [***]
X=TLS1.2:ECDHE-ECDSA-AES128-GCM-SHA256:128 C="250 2.0.0 OK 1660194665
j8-20020a5d4648000000b002217db8de34si9091493wrs.873 - gsmtp"
2022-08-11 07:11:06 1oM0TD-0004GD-DR Completed


Log error external SMTP host:
2022-08-11 07:12:30 cwd=/ 6 args: /usr/sbin/exim -ps -bd -q60m -oP
/var/spool/exim/exim-daemon.pid
2022-08-11 07:12:30 exim 4.95 daemon started: pid=16904, -q1h, listening for
SMTP on port 25 (IPv6 and IPv4) port 2525 (IPv6 and IPv4) port 587 (IPv6 and
IPv4) and for SMTPS on port 465 (IPv6 and IPv4)
2022-08-11 07:12:30 cwd=/var/spool/exim 2 args: /usr/sbin/exim -q
2022-08-11 07:12:30 Start queue run: pid=16908
2022-08-11 07:12:50 1oM0Rz-0004DZ-SN == ***@gmail.com R=smarthost defer (-36):
host lookup for smtp.*** did not complete (DNS timeout?)
2022-08-11 07:12:50 End queue run: pid=16908


Log success external SMTP host:
2022-08-11 07:13:03 cwd=/usr/local/cpanel/whostmgr/docroot 2 args:
/usr/sbin/exim -bpra
2022-08-11 07:13:09 cwd=/usr/local/cpanel/whostmgr/docroot 4 args:
/usr/sbin/exim -v -M 1oM0Rz-0004DZ-SN
2022-08-11 07:13:09 1oM0Rz-0004DZ-SN [***] SSL verify error: depth=0 error=self
signed certificate
cert=/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=98994/emailAddress=root@98994
2022-08-11 07:13:09 1oM0Rz-0004DZ-SN [***] SSL verify error: depth=0
error=certificate has expired
cert=/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=98994/emailAddress=root@98994
2022-08-11 07:13:09 1oM0Rz-0004DZ-SN [***] SSL verify error: certificate name
mismatch:
DN="/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=98994/emailAddress=root@98994"
H="smtp.***"
2022-08-11 07:13:09 1oM0Rz-0004DZ-SN => ***@gmail.com R=smarthost T=remote_smtp
H=smtp.*** [***] X=TLS1.2:DHE-RSA-AES256-GCM-SHA384:256 C="250 OK
id=1oM0V4-0006k8-OU"
2022-08-11 07:13:09 1oM0Rz-0004DZ-SN Completed


How to reproduce?
- Send normal email.
- First - random attempt will reject
- Second attempt will accept


Note:
Before new version it works without problems for years.
This error first time appear in last 1-2 years.
It is very random.


Additional information:
We are using latest version of WHM/cPanel.

If we replay on one exact mail message it will ALWAYS reject. Is there
additional problem with length or message, body, content, DKIM or something
like that? This issue is related or different bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2709] SMTP Error 451 [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2709

--- Comment #6 from faca5 <studiofaca@gmail.com> ---
Is there any option to skip lookup for SMTP server on local host if we will use
only EXTERNAL SMTP server for final delivery? We can use IP address of SMTP
server instead of hostname?

External SMTP server using older version of EXIM and they don't have any kind
of problem to delivery email to end user.

Thank you.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 2709] SMTP Error 451 [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=2709

--- Comment #7 from Jeremy Harris <jgh146exb@wizmail.org> ---
Thanks to your obfuscation the log lines you show are hard to interpret.

Since it is repeatable with a given message, try it with Exim running with
debug; this may give you more clues as to the nature of the problem.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##