Mysql binary logs are not deleted after expiration
Finally the binary logs was rotating normally. The problem is that expire_logs_days=2 means 2 days excluding the present one or something like that, probably a translation of days in minutes. :)
The last mysql mariadb versions set binary log expiration in minutes.