This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 5a919833 How to set up rsync
5a919833 is described below
commit 5a9198339cc479d9b513efc71cf86c8f5deacb35
Author: Sebb <[email protected]>
AuthorDate: Sat Apr 30 13:23:03 2022 +0100
How to set up rsync
---
DEPLOYMENT.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
index 56c2627e..3106468a 100644
--- a/DEPLOYMENT.md
+++ b/DEPLOYMENT.md
@@ -132,3 +132,11 @@ and running - these are only needed for a new deployment.
* Note that the /srv/mail/* directories will in general be different
between hosts
This is because the final delivery routes will vary.
However, rather than try and merge the files, it is simpler to do a full
copy of `/srv/mail`
+
+Mail server configuration
+-------------------------
+The mail server is unlikely to change, but if it does, rsync auth will need to
be set up.
+ * generate an SSH keypair for the apmail login:
+ * `sudo -Hiu apmail`
+ * `ssh-keygen -t ecdsa -b 521`
+ * copy the public key from `.ssh/id_ecdsa.pub` to the Puppet file
`data/nodes/whimsy-vm6.apache.org.yaml` under the
`whimsy_server::procmail::apmail_keycontent` key.