Here follows the /etc/msmtprc that worked with 23.05.5, works with Linux Mint PC (just checked) and no longer works with 24.10.0
account myemail
host smtp.myemail.com
port 465
auth on
tls on
tls_starttls off
tls_certcheck off
from_full_name ...
from ...
user ...
password ...
account default : myemail
logfile /tmp/msmtp.log
Also tried with the following but It doesn't work, the command simply doesn't terminate its execution, so no logs too...:
account myemail
host smtp.myemail.com
port 465
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
from_full_name ...
from ...
user ...
password ...
account default : myemail
logfile /tmp/msmtp.log
# Set default values for all following accounts.
defaults
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account myaccount
host mail.somewhere.there
port 587
from webmaster@somewhere.there
user webmaster@somewhere.there
password tooweakbutfancy
# Set a default account
account default : myaccount
Fortunately I've just found another smtp with which my initial msmtprc still works:
account thisworks
host smtp.thisworks.it
port 465
auth on
tls on
tls_starttls off
tls_certcheck off
from_full_name ...
from ...
user ...
password ...
account default : thisworks
logfile /tmp/msmtp.log