Hey Marcos,
I tried uninstalling and reinstalling smart security. The probelm is fixed, I can check my mail with IMAP filtering enabled. The problem now is I can't browse any site using ssl with ssl protocol filtering enabled. If it is disabled, I can browse just fine.
I'll be sending the logs collected, in any case, hope this helps for my new problem.
Thanks.