I use Postfix v3.1.15 to relay emails from my own internal systems (alerting, backup reports etc) to smtp.office365.com to be delivered to my O365 mailbox.
I've been using Postfix installed on Debian 9 for this for a couple of years. However I am receiving emails from Microsoft informing me of depreciation of TLS1.0 and TLS1.1 soon and to use TLS1.2 going forward as they have detected I am still using TLS1.0/TLS1.1.
Is there a simple command I can initially ascertain which version of TLS I am using currently? I am no Linux expert and each time I need to revisit anything Linux based I have to teach myself all over again as I do not administer Linux on a daily basis.
TY in advance...
My main.cf is as follows:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
compatibility_level = 2
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = debian.darnells.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, debian.darnells.darnells.co.uk, localhost.darnells.darnells.co.uk, darnells.darnells.co.uk
relayhost = darnells-co-uk.mail.protection.outlook.com
mynetworks = 192.168.0.0/20 192.168.40.5 192.168.30.5 192.168.20.5
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all