HOWTO secure the msmtp configuration using libsecret’s password manager with Microsoft SMTP (Ubuntu)

Introduction and catchup

This is an evolution of “HOWTO Send an email using Gmail from a system configuration using msmtp and heirloom-mailx (Ubuntu)” that you can find here.

Libsecret’s secret-tool utility

The password manager package that is being used here is called secret-tool and is part of the libsecret tools package. Documentation on this tool is available from http://manpages.ubuntu.com/manpages/focal/man1/secret-tool.1.html.

To use Microsoft rather than Google

Check the Sync option in your outlook client for the SMTP settings. The port and server name are retrieved from here.

30+ years' experience in the field of IT in the Financial (Insurance / Banking), Services and Education industries.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store