Skip to navigation

msmtprc settings for King’s College London email account

Just to maybe spare someone some time. There’s a pdf on the KCL website with all the information you need, but it’s even easier just to cut and paste.


  • account kcl Can be something else, especially, can be “default” if you want it to be the default.
  • Replace “USERNAME” with your username, but make sure you leave the preceding kclad\ in there.
  • replace PASSWORD
  • tls_trust_file can vary depending on your system. This should work if you use Debian or Ubuntu and have the package ca-certificates installed. If you must, replace with tls_certcheck off
  • logfile setting is optional, but recommended
account kcl
user kclad\USERNAME
password PASSWORD
auth on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
port 587
logfile ~/.msmtp-log

Comments are closed.