Hi there! First, I’d recommend using code blocks in the future to help ensure formatting is correct. I’ve made the edit for you on your original post.
Second - Is this a new install of AlmaLinux and/or Exim? I believe you will need to configure both fail2ban and Exim correctly for them to work together.
Additionally, is this a cPanel server? If so, your license provider should be able to offer you some assistance.