Incoming mail and service desk result in [Rejected]

Hi,
I want to configure incoming email and service desk in gitlab ce running in a docker container. gitlab itself is running fine and gitlab is sending mails. But mails to servicedesk or replies to mails from gitlab produce

Unfortunately, your email message to GitLab could not be processed.
We couldn’t figure out what the email is for. Please create your issue or comment through the web interface.

The mail boxes have been setup such, that mail s to the external known mail adress (servicedesk@daten.online) are forwarded to a catch all mailbox (servicedesk@git.daten.online).

Help how to configure that correctly is highly welcome.
Here the sippets from our configuration:

### Email Settings
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = 'servicedesk@daten.online'
gitlab_rails['gitlab_email_display_name'] = 'AVS Service Desk'
gitlab_rails['gitlab_email_reply_to'] = 'noreply@daten.online'
# gitlab_rails['gitlab_email_subject_suffix'] = ''

### Reply by email
###! Allow users to comment on issues and merge requests by replying to
###! notification emails.
###! Docs: https://docs.gitlab.com/ce/administration/reply_by_email.html
gitlab_rails['incoming_email_enabled'] = true

#### Incoming Email Address
####! The email address including the `%{key}` placeholder that will be replaced
####! to reference the item being replied to.
####! **The placeholder can be omitted but if present, it must appear in the
####!   "user" part of the address (before the `@`).**
# gitlab_rails['incoming_email_address'] = "servicedesk+%{key}@gmail.com"
gitlab_rails['incoming_email_address'] = "servicedesk+%{key}git.daten.online"

#### Email account username
####! **With third party providers, this is usually the full email address.**
####! **With self-hosted email servers, this is usually the user part of the
####!   email address.**
gitlab_rails['incoming_email_email'] = "servicedesk@git.daten.online"

#### Email account password
gitlab_rails['incoming_email_password'] = "[hidden]"

#### IMAP Settings
gitlab_rails['incoming_email_host'] = "imap.strato.de"
gitlab_rails['incoming_email_port'] = 993
gitlab_rails['incoming_email_ssl'] = true
gitlab_rails['incoming_email_start_tls'] = false
#### Incoming Mailbox Settings
####! The mailbox where incoming mail will end up. Usually "inbox".
gitlab_rails['incoming_email_mailbox_name'] = "inbox"
####! The IDLE command timeout.
gitlab_rails['incoming_email_idle_timeout'] = 60
# Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery
gitlab_rails['incoming_email_expunge_deleted'] = true

###############################################################################
## Service Desk
###############################################################################
gitlab_rails['service_desk_email_enabled'] = true
gitlab_rails['service_desk_email_address'] = "project_contact+%{key}@git.daten.online"
# gitlab_rails['service_desk_email_address'] = "servicedesk+%{key}@git.daten.online"
gitlab_rails['service_desk_email_email'] = "servicedesk@git.daten.online"
gitlab_rails['service_desk_email_password'] = "[hidden]"
gitlab_rails['service_desk_email_mailbox_name'] = "inbox"
gitlab_rails['service_desk_email_idle_timeout'] = 60
gitlab_rails['service_desk_email_log_file'] = "/var/log/gitlab/mailroom/mail_room_json.log"
gitlab_rails['service_desk_email_host'] = "imap.strato.de"
gitlab_rails['service_desk_email_port'] = 993
gitlab_rails['service_desk_email_ssl'] = true
gitlab_rails['service_desk_email_start_tls'] = false
# gitlab_rails['service_desk_email_expunge_deleted'] = true

Having the same issue. However we are only seeing this when emailed internally. External users that email service desk have issues created. Is there a work around?

.

Finally, I got it to work. As soon as I am back on my desk I’ll have a look.

Hello digitalsigi,
We have the same problem, described above.
So if you have any solution,please share with us.

hello digitalsigi!

could you please describe me your solution? I’m really interrested in it!

thanks

Sorry for the delay, was abroad …

I am not an expert in this, but what worked for me is having different mail address for gitlab_rails[‘gitlab_email_from’] and gitlab_rails[‘incoming_email_address’] and have the second one as catch all mailbox.

Not shure whether it will help you. gitlab configuration is to me not an easy thing.