Setting up a new shared mail server
The following steps should be taken to setup a new shared mail server:
- In ansible seed repo, edit
hosts.ymlto copy each line withmailstore002to your new name. - Execute
sower --live generate:mailstore --parent hostxxx.mayfirst.orgto generate a new mailstore yaml file. - Follow regular kvm guest setup steps
- Be sure you created the ssh key in the step above!
- If you want this to be the new default mailstore, run this sql statement
against the red001 control panel database (replace mailstoreNNN and dataNNNN
with the appropriate values):
UPDATE red_service SET service_default_host = 'mailstoreNNN.mayfirst.org', service_default_mountpoint = 'dataNNNN' WHERE service_name = 'mailbox;