$ fail2ban-client -vvd 2>&1 | grep filter | tail -n3
2023-10-28 11:09:49,729 7F4+49149C040 ERROR Found no accessible config files for 'filter.d/exim\ndovecot' under /etc/fail2ban
2023-10-28 11:09:49,729 7F449149C040 ERROR Unable to read the filter 'exim\ndovecot'
['config-error', "Jail 'jailname' skipped, because of wrong configuration: Unable to read the filter 'exim\\ndovecot'"]
If you want to use two filters you should merge both in only one and use that filter in your jail.