Gitlab Service Desk and incoming email configuration wrong formating
Hi, my company is a premium customer and after opening a support ticket we were asked to open an issue to get a broader audience looking into this issue.
Context:
We recently enabled Gitlab Service Desk so we moved from a single email setup to a catch all email (through some custom rules on Microsoft Exchange Server).
What we did is we updated the gitlab_rails['incoming_email_address']
parameter to:
%{key}-gitlab-env@mycompany.com
Then the auto generated Gitlab Service Desk email for a project would be:
myorg-myrpo-repoid-issue--gitlab-env@mycompany.com
(note the double "--" before "gitlab-env")
Users can correctly open an issue as expected with the Gitlab Service Desk feature. When users would reply back by email to the issue they opened with the above auto generated email, the reply-to header would be set to xxxxxxx-gitlab-env@mycompany.com (xxxx being a random string of number/letter)
So with these parameter above everything works correctly as our Microsoft Exchange Server, to simplify, would catch everything coming to "*-gitlab-env@mycompany.com".
Issue:
The double dash "--" in the auto generated Gitlab Service Desk email is not really clean so we decided to update the conf to have only one single "-".
What we did is we updated the gitlab_rails['incoming_email_address']
parameter to:
%{key}gitlab-env@mycompany.com
Then the auto generated Gitlab Service Desk email for a project would be:
myorg-myrpo-repoid-issue-gitlab-env@mycompany.com
(single dash like we wanted)
Users can correctly open an issue as expected with the Gitlab Service Desk feature. But when users would reply back by email to the issue they opened with the above auto generated email, the reply-to header would be set to xxxxxxxgitlab-env@mycompany.com (no dash at all anymore)
It will then fail as it will not be catch anymore in our Microsoft Exchange Server.
Our email setup is a bit complex and is a mix of o365 and Microsoft Exchange Server self hosted, I do not really want to go deep into the setup but I would like to know:
Is there anyways, through Gitlab conf, I could have the auto generated email for Gitlab Service Desk used a single dash and also have the reply back have a dash setup before gitlab-env@mycompany.com ?