mjl- / mox

modern full-featured open source secure mail server for low-maintenance self-hosted email
https://www.xmox.nl
MIT License
3.38k stars 89 forks source link

Temporary Return-Path check #103

Closed Halyul closed 6 months ago

Halyul commented 6 months ago

Hi, recently I have encountered an issue where the email is being rejected due to the presence of Return-Path in the email.

I'm using Zitadel which sends out email with Return-Path in the headers (their code).

I noticed that mox rejects emails when Return-Path is presented. I'm wondering if mox can provide an option to disable this check.

I know complying with RFC is a good practise, but getting it resolved on Ziadel side is much harder. Nevertheless, thanks for your hardwork!

mjl- commented 6 months ago

hi halyul, thanks for the report. Indeed mox is being too strict and not very helpful here. I've changed the check so it only triggers in "pedantic mode".

Halyul commented 6 months ago

Thanks for your fast response! Looking forward to the new version!