Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix add missing headers #3489

Closed
3 tasks done
kohtala opened this issue Jun 30, 2023 · 2 comments
Closed
3 tasks done

Postfix add missing headers #3489

kohtala opened this issue Jun 30, 2023 · 2 comments
Labels
help wanted Contributor missing

Comments

@kohtala
Copy link

kohtala commented Jun 30, 2023

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
I have a device (QNAP QTS 5.0.1) sending emails and I wish for them to go to gmail via my ISP mail relay. QNAP Notification Center 1.5.0.2126 does not create the Message-Id header, ISP mail relay does not add it and Gmail rejects messages without the header.

QNAP support was not helpful and only gave one unhelpful tasks to perform after another rather than take on the problem.

So I tried to set up postfix on OPNsense and have it add the missing header. But it does not add and there is no option.

Describe the solution you'd like
Add option corresponding with the always_add_missing_headers option. It'll need related local_header_rewrite_clients option to allow changing the default to permit_mynetworks.

I believe there are other broken email senders that are hard to fix.

Describe alternatives you've considered
I edited the options into the /usr/local/opnsense/service/templates/OPNsense/Postfix/main.cf template to try if it helps. It does, however it'll be void on next update.

local_header_rewrite_clients = permit_mynetworks
always_add_missing_headers = yes

Additional context
The mail relay returns delivery-status with gmail response

<***@***>: host gmail-smtp-in.l.google.com[64.233.165.26]
    said: 550-5.7.1 [213.145.209.38] Messages missing a valid messageId header
    are not 550 5.7.1 accepted.
    w6-20020a***fq.441 - gsmtp (in reply to
    end of DATA command)
@OPNsense-bot
Copy link

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

@bartlaarhoven
Copy link

I believe #4168 will fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributor missing
Development

No branches or pull requests

3 participants