Hi all,
I hope I’m just missing something obvious, so I thought I’d check with people who might be more knowledgeable. Apologies if this isn’t the right place for this.
I’m trying to setup GitLab’s Service Desk feature on my self-hosted instance. My mail server is hosted separately using iRedMail, self-hosted on a separate virtual machine. My main problem is that the way sub-addressing is handled by iRedMail/Postfix is to put the email in a separate directory based on what comes after the delimiter (i.e. if the email was to servicedesk+daisuke-daisuke-8-issue-@git.amthst.dev
, the email would be put in a folder called daiuske-daisuke-8-issue-
). I can’t find a way for GitLab to scan for emails in all folders, or by a pattern (i.e. folders ending in issue
, merge
, etc.).
The setup currently works if I manually move emails into the Inbox folder.
My question is this: is it possible to get GitLab to scan multiple folders? If not, does anyone know how to get Postfix/Dovecot to automatically move new emails back to the Inbox or disable moving it to a separate folder?
I’m currently running GItLab 15.8.1-ee on Free. The configuration for incoming email/service desk is below:
gitlab_rails['incoming_email_enabled'] = true
gitlab_rails['incoming_email_address'] = "servicedesk+%{key}@git.amthst.dev"
gitlab_rails['incoming_email_email'] = "servicedesk@git.amthst.dev"
gitlab_rails['incoming_email_password'] = "[REDACTED]"
gitlab_rails['incoming_email_host'] = "mailserv.amthst.dev"
gitlab_rails['incoming_email_port'] = 993
gitlab_rails['incoming_email_ssl'] = true
gitlab_rails['incoming_email_start_tls'] = false
gitlab_rails['incoming_email_mailbox_name'] = "inbox"
gitlab_rails['incoming_email_idle_timeout'] = 60
gitlab_rails['incoming_email_delivery_method'] = "sidekiq"
gitlab_rails['service_desk_email_enabled'] = true
gitlab_rails['service_desk_email_address'] = "servicedesk+%{key}@git.amthst.dev"
gitlab_rails['service_desk_email_email'] = "servicedesk@git.amthst.dev"
gitlab_rails['service_desk_email_password'] = "[REDACTED]"
gitlab_rails['service_desk_email_idle_timeout'] = 60
The IMAP settings are the same between both the service desk and incoming email configuration.
Any help will be greatly appreciated.
Thank you!