[exim-dev] [Bug 2596] Changing the default value for the ho…

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 2596] Changing the default value for the hosts_noproxy_tls option breaks the use of smtp authorization
https://bugs.exim.org/show_bug.cgi?id=2596

--- Comment #2 from Sergey <prospero_ne@???> ---
(In reply to Jeremy Harris from comment #1)
> Could you clarify what you mean by "authorization", and show what is broken?


I mean the following case.
Exim server configured as a smart host to send letters via external smtp.
If several emails from different users of the same external smtp get to this
server at the same time, then the first email opens a smtp session, and the
next ones try to go to an already open session.
This works well if emails are sent without authorization, or with authorization
under the same smtp user.
But if the users of the smtp are different, the emails get into the already
open smtp session under the wrong login.
In the log, it looks like this:

17:47:13 1jiJ3O-0004Q3-Oy => F=<first@???> H=smtp.example.com A=login
C="250 2.0.0 OK 10sm7101118qkv.136"
17:47:14 1jiJ1k-0003ZP-Jj => F=<second@???> H=smtp.example.com C="250
2.0.0 OK 1591627634 10sm7101118qkv.136"

The first email went authorized (A = login), the next one was simply
transferred to the smtp server without authorization.

In the debug log, it looks like this:
17:47:11 17036 set_process_info: 17036 delivering 1jiJ3O-0004Q3-Oy to
smtp.example.com
17:47:11 17036 Connecting to smtp.example.com ...
***
17:47:11 17036 Initialized TLS
***
17:47:11 17036 Calling SSL_connect
***
17:47:11 17036 SSL_connect succeeded
***
17:47:11 17036 SMTP<< 220 smtp.example.com ESMTP 10sm7101118qkv.136
***
17:47:12 17036 SMTP>> AUTH LOGIN
***
17:47:12 17036 SMTP<< 235 2.7.0 Accepted
17:47:12 17036 login authenticator yielded 0
***
17:47:13 17036 SMTP<< 250 2.0.0 OK 10sm7101118qkv.136
***
17:47:13 17036 set_process_info: 17036 delivering 1jiJ3O-0004Q3-Oy: just tried
smtp.example.com ... result OK
17:47:13 17036 Leaving transport

17:47:13 17131 set_process_info: 17131 delivering 1jiJ1k-0003ZP-Jj
17:47:13 17131 transport entered
***
17:47:13 17131 already connected to smtp.example.com (on fd 0)
***
17:47:13 17131 delivering 1jiJ1k-0003ZP-Jj to smtp.example.com
***
17:47:13 17131 continued connection, proxied TLS
***
17:47:14 17131 SMTP<< 250 2.0.0 OK 1591627634 10sm7101118qkv.136
***
17:47:14 17131 set_process_info: 17131 delivering 1jiJ1k-0003ZP-Jj: just tried
smtp.example.com ... result OK

--
You are receiving this mail because:
You are on the CC list for the bug.