mail-in-a-box / mailinabox.email

The website at mailinabox.email.
https://mailinabox.email
Creative Commons Zero v1.0 Universal
65 stars 48 forks source link

Add note about SPF record when relaying emails #90

Closed phylor closed 2 years ago

phylor commented 2 years ago

I have a couple of servers which are configured to relay email via my mailinabox. The TO: address of those emails is an email managed by the mailinabox.

I still get SPF and DMARC fails on those emails.

The spam classification in the emails:

X-Spam-Report: 
    *  5.0 SPF_FAIL SPF check failed
    *  5.0 DMARC_FAIL_QUARANTINE DMARC check failed (p=quarantine)
    *  0.0 HTML_MESSAGE BODY: HTML included in message
    * -0.0 T_SCC_BODY_TEXT_LINE No description available.
X-Spam-Score: 10.0

Adding my relay servers to my SPF record seemed to have solved the issue.

I would suggest adding that information to the documentation.

JoshData commented 2 years ago

I appreciate the help with documentation.

But I don't think this should be necessary actually. I think I recall that you opened a thread on the disussion forum about this but I can't quickly find it. Could you paste a link to it here so I can try to help?

phylor commented 2 years ago

But I don't think this should be necessary actually. I think I recall that you opened a thread on the disussion forum about this but I can't quickly find it. Could you paste a link to it here so I can try to help?

I thought that I tested it successfully, but emails are still failing. 🤔 You're probably right, that it's not needed.

Someone else opened a thread on the forum - I can't find it either right now.

I created a new thread. Closing this PR until I figure out what the problem is.

phylor commented 2 years ago

For future reference: my problem was that postfix on the application servers did not use mailinabox as a relay correctly. I added configuration changes I had to do to get it to work in #91.