[19.0][ADD] Add incoming mailgate#3
Merged
Merged
Conversation
Using the odoo mailgate script, pipe maip directly into odoo without having to wait for the IMAP cronjob. In order to do this, some adjustments had to be made to the inverse proxy because TLS needs to be terminated in postfix.
Brevo changed the Message-ID and had no way of disabling this behavior. Without Message-ID we cannot track messages on replies in some cases. Smtp2go does not do this
This tool I built allows us to only accept connections on 12525 from servers listed in google's SPF record as well as from their special unverified sending domain unverified-forwarding.1e100.net
We already have blocked all IPs but google's, but if someone really wanted to flood us with spam and knew what port is designated for incoming mail, he could set up his own mail route in google workspace pointing at our server/port and there is nothing we could do about it. Now we can check every email for a secret header that we add in our google workspace split delivery rule and only accept mail that has it, and therefore is guaranteed to be from our workspace setup.
Add my patch to odoo: https://github.com/Pyxiris/odoo/tree/19.0-mail_disable_relay_notification Which prevents odoo from notifying external users of received external mail.
Member
Author
|
/build-push sha=1be78ca8d8cee7d8809bc982dc6923366d4e9619 Build result: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.