Hi All,

I'm looking for pointers how to get this information:
postfix/smtp[y]: Trusted TLS connection established to mail.server.tld[x.x.x.x]:25: TLSv1 with cipher AES256-SHA (256/256 bits)

added to the log line that is generated by the sent() as now it's pretty hard or time consuming to grep from logs if the recipient was encrypted as that tls_client_start() doesn't log the queue ID.

Background: I'm using smtp_tls_policy_maps to enforce certain next hops to use "encrypt" but for rest of the next-hops I'd like to produce reports whether TLS was used/was available.

Thanks,
Toni Mattila

Reply via email to