Matthias Schneider: > >> Is there a easy way to add this to smtp.c ? > > No, but you could use a better stateful logfile analyzer. The TLS > > session status is always logged with the name of the remote MTA > > example.com[x.x.x.x]:25, and it is always logged before the status= > > record.
Matthias Schneider: > Wietse, Thank you for support! > I already tried to solve it that way, unfortunately the close of the TLS > connection is not logged, so i cannot delete it in memory. Consider that an smtp(8) process makes only one connection at a time. The close is therefore implied when the smtp process logs a new "TLS established" record, or when it logs any activity with a different example.com[x.x.x.x]:25. Wietse