Skip to content

[19.0][ADD] Add incoming mailgate#3

Merged
ljmnoonan merged 5 commits into
19.0from
19.0-prod-mailserver-exp
Mar 4, 2026
Merged

[19.0][ADD] Add incoming mailgate#3
ljmnoonan merged 5 commits into
19.0from
19.0-prod-mailserver-exp

Conversation

@ljmnoonan
Copy link
Copy Markdown
Member

No description provided.

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.
@ljmnoonan
Copy link
Copy Markdown
Member Author

ljmnoonan commented Mar 3, 2026

/build-push sha=1be78ca8d8cee7d8809bc982dc6923366d4e9619


Build result:
The image has been built and pushed as:

ghcr.io/pyxiris/man18:19.0-pr3

@ljmnoonan ljmnoonan merged commit 9c3c369 into 19.0 Mar 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant