While updateing the log parsing script I came across this : TLS status is check at connect time and per destination with the following values "Anonymous" , "Verified" , "Trusted" or "Untrusted". It makes sense because is related with the destination.
We have a table and use queue id as an identifier and the end goal is to have the TLS status in that message record. The problem, for me, is to correlate the smtp proc id with the message. Is it possible to have a extra key=value pair in the "final smtp log line" ? Dec 10 06:25:31 xxxx postfix/smtp[10042]: 3jy7Y74f4pz2pG1c: to=<y...@zzzzz.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.28, delays=0.12/0/0.04/0.12, dsn=2.0.0, tls=Verified status=sent (250 OK) Jose Borges Ferreira