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.
Note:
account kclCan 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_filecan vary depending on your system. This should work if you use Debian or Ubuntu and have the packageca-certificatesinstalled. If you must, replace withtls_certcheck offlogfilesetting is optional, but recommended
account kcl host kclsmtp.kcl.ac.uk user kclad\USERNAME password PASSWORD auth on tls tls_trust_file /etc/ssl/certs/ca-certificates.crt port 587 logfile ~/.msmtp-log