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

fix(matomo): add simple heuristic to choose smtp encryption mode #594

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

kosmoz
Copy link
Member

@kosmoz kosmoz commented Nov 5, 2024

SMTP port 465 is typically used with SSL/TLS, not STARTTLS. In this case Matomo must be configured with encryption mode SSL rather than TLS.

With this PR, the operator implicitly assumes that SSL should be used if the port is 465 or 2465 has been specified.

This is a bit of a hack, but I think it should work for most cases and at least it doesn't bring a breaking change.

@kosmoz kosmoz requested a review from christophenne November 5, 2024 13:43
@kosmoz kosmoz force-pushed the kosmoz/fix-matomo-smtp-encryption-mode branch from fb04cbe to a29d80b Compare November 5, 2024 13:45
@kosmoz kosmoz force-pushed the kosmoz/fix-matomo-smtp-encryption-mode branch from a29d80b to 94c096d Compare November 5, 2024 13:51
@kosmoz kosmoz merged commit e36625c into main Nov 5, 2024
3 checks passed
@kosmoz kosmoz deleted the kosmoz/fix-matomo-smtp-encryption-mode branch November 5, 2024 14:01
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.

2 participants