Enable reply-by-mail for GitLab
A lot of our users are used to mail-based workflows, and Bugzilla also allowed reply-by-mail. To match this, we should enable GitLab's reply-by-mail functionality: unfortunately we cannot do direct SMTP into the GitLab instance like we did with Bugzilla. Doing this requires IMAP set up, which is something we don't have.
-
Set up a catch-all *@gitlab.fd.o route on gabe to a dedicated mailbox -
Pick a least-bad IMAP server to deploy -
Enable a local-only-listening IMAP mailbox on gabe -
Set up a new user on gabe with a private key that only allows it to start a background session and forward the IMAP port -
Create a Kubernetes secret to hold the private key in the GitLab cluster -
Create a container which establishes the SSH tunnel to gabe, forwarding the port and exposing that port to other containers in the pod -
Join this container to the pod -
Enable IMAP polling in GitLab, check it works, fix the above until it does work -
Flick on reply-by-email