Avast blocks my IMAP and POP3 in Apple Mail

Avast blocks my IMAP and POP3 in Apple Mail.

When I exclude these ports in the Avast’s preferences, they’re not saved…

If you are using a managed solution, you must set up the exceptions on the cloud console, not locally.

Thank you