Pipeline mails are marked as spam because To: is missing
I have pipeline mails from a self-managed GitLab ending up in spam, because To:
is missing in the header:
X-Spam-Report:
* 0.9 SPF_FAIL SPF: sender does not match SPF record (fail)
* [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=gitlab%40example.com;ip=2001%3A470%3A142%3A3%3A%3A10;r=c03mi01.soverin.net]
* 1.2 MISSING_HEADERS Missing To: header
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* 1.9 REPLYTO_WITHOUT_TO_CC No description available.
Als adding Cc:
might help, as you can see above, but I'm not sure about that.