I’ve been keeping an email archive in an SQL database for years, and using MailSteward Pro to make easy work of adding to the archive. I recently had to re-setup my servers, and created an ansible role to make setup of mysql easier. MailSteward wants some non-standard sql password settings, and by default SQL connections are allowed only from localhost, so that needs to be changed.

ansible_role_mailsteward_mysql

Requirements#

  • Tested on Ubuntu 20.04

Role Variables#

Available variables are listed below:

mysql_password: root