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

ZCS-11699: adding check to verify zimbra_external_email_warning is enabled before updating the content #1317

Merged
merged 1 commit into from Jul 15, 2022

Conversation

wilfredo-alfaro-telus
Copy link
Contributor

Solution

ZCS-11699 is about improving the performance of a new functionality introduced with ZCS-11096, which is in charge of prepending a "warning" text to the message when it comes from outside of the organization for which the receiving account belongs. With such feature, some parsing routines where introduced and executed even when the feature was disabled, thus causing unnecessary workload in the scenario of having the feature disabled.

For this fix we have added additional logic on the ZimbraLmtpBackend class in order to make sure that the relevant message parsing routines get executed only if necessary (i.e. when the warning feature is enabled).

Notes

Please consider that there will be extra workload when the feature is actually enabled, but this is an expected trade-off from getting to parse every incoming message for the purpose of prepending the warning message accordingly.

Testing

Please check ticket for details.

@deepakzimb deepakzimb merged commit 4bef013 into develop Jul 15, 2022
@silentsakky silentsakky deleted the bugfix/ZCS-11699 branch July 17, 2022 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants