GitLab service desk with iRedMail: details
In addition to my previous article about GitLab service desk feature with iRedMail I would like to enhance it a little bit my fixing some missing parts. Starting with connecting to PostgreSQL vmail database:
1 2 | sudo -u postgres -i \c vmail |
Verifying mail server connectivity and TLS issues.
1 | /opt/gitlab/embedded/bin/openssl s_client -connect mail.domain.com:993 |
GitLab (and iRedMail also) does not allow expired certificates. So be sure to have both root CA present and your certificate valid.
1 2 3 | cp r11.crt /usr/local/share/ca-certificates/ update-ca-certificates |
And finally restarting services. Interesting part is that only Nginx do not allow placing R11 root CA before actual certificate. But placing R11 after actual certificate does the job.
1 2 3 | service postfix restart service dovecot restart service nginx restart |