Hello

In Exim 4.96.2, the log_connect_tls_drop() function appeared in the file
src/src/smtp_in.c:


static void
log_connect_tls_drop(const uschar * what, const uschar * log_msg)
{
gstring * g = s_tlslog(NULL);
uschar * tls = string_from_gstring(g);

log_write(L_connection_reject,
  log_reject_target, "%s%s%s dropped by %s%s%s",
  LOGGING(dnssec) && sender_host_dnssec ? US" DS" : US"",
  host_and_ident(TRUE),
  tls ? tls : US"",
  what,
  log_msg ? US": " : US"", log_msg);
}


The value of the last parameter of the log_write function is not checked
before output to the log file. If you use drop without log_message, then
when connecting to port 465 the following message will be displayed in
the log file:


2023-11-09 22:43:41 [36164] H=hostname.domain.tld [1.2.3.4]:17784
I=[5.6.7.8]:465 dropped by 'connect' ACLNULL


In exim 4.96.2, instead of "dropped by 'connect' ACLNULL" it was
displayed "dropped by 'connect' ACL". But in exim 4.96.2 there was no
log_connect_tls_drop() function.

-- 
Best wishes Victor Ustugov
mailto:[email protected]
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to