Setting up a new shared mail server

The following steps should be taken to setup a new shared mail server:

  1. In ansible seed repo, edit hosts.yml to copy each line with mailstore002 to your new name.
  2. Execute sower --live generate:mailstore --parent hostxxx.mayfirst.org to generate a new mailstore yaml file.
  3. Follow regular kvm guest setup steps
  4. Be sure you created the ssh key in the step above!
  5. 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;