Hello,
I’m trying to configure reply by mail on Gitlab Omnibus 8.6.7, using my mail server via imap.
Since my server does not support subaddressing, I created an account for the incoming mails and I followed the instructions. For the incoming_email_address setting I used something like "gitlab_rails[‘incoming_email_address’] = “gitlab-dev@host.com”.
However, Reply by mail keep staying disabled (after reconfigure and restart mailroom.
The mailroom check reports:
ubuntu@gitlab:~$ sudo gitlab-rake gitlab:incoming_email:check
Checking Reply by email …
Address formatted correctly? … no
Try fixing it:
Make sure that the address in config/gitlab.yml includes the ‘%{key}’ placeholder.
Please fix the error above and rerun the checks.
IMAP server credentials are correct? … rake aborted!
NoMethodError: undefined methodfirst' for nil:NilClass /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:733:in
check_imap_authentication’
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:627:in `block (3 levels) in <top (required)>’
Tasks: TOP => gitlab:incoming_email:check
(See full trace by running task with --trace)
Since the comments in the documentations report that %{key} is not needed, specially given that my mail server does not support subaddressing, I think this is a Gitlab bug.
Am I doing something wrong in the configuration? Is it actually possible to configure reply by mail without subaddressing?
Thanks,
Michele