Troubleshooting password recovery emails when using the Docker container

Hey, everyone.

I’m working on a Kubernetes Helm Chart for Gitlab CE/EE and one of the last issues I need to iron out is that I’m not getting password recovery etc emails from my test server running as a Docker container and Kubernetes Deployment/Pod.

I’m sending them to my Gmail account so I suspect the upstream MTA is rejecting them due to something like SPF or some pre-delivery SPAM filtering though the container logs show the ActiveMailer layer in GitLab thinking it has at least queued and perhaps sent the email.

Does anyone know how I might do more debugging from the GitLab side of things? Is there a way I can check the mail queue within ActiveMailer? Perhaps a trace log of the SMTP session would be most useful.