d63fbcb367b6de01f5e39d72a825f03a832e308f |
|
28-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
submission: Block server input handling until proxy connection to relay server completes.
This makes sure we are aware of the full extent of the backend server's capabilities, before we start handling commands.
Before, only EHLO commands were blocked this way, but this did not account for MAIL/RCPT parameters, which are equally dependent.
Fixes problems with clients that send no EHLO after AUTH, like Thunderbird. |
961a5c472495203d4714a059a192fb0bf72d56d5 |
|
24-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
submission: Restructure handling of QUIT command.
- Avoid explicitly proxying QUIT command when the proxy connection is not ready: in that case the SMTP client connection will just send QUIT if appropriate, without waiting for reply.
- Add timeout for proxied QUIT command, so that there are no problems when the relay server hangs after QUIT (addresses FIXME). |
a731e3b18f93735c222460e44692ca0bfac91688 |
|
24-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
submission: Initialize proxy connection before starting the SMTP server connection.
The smtp_server_connection_login() function gets pre-login connection data from login service, which can contain commands.
The execution of commands expects the proxy connection object to be initialized. |