I've also upgraded from 11.5 to 12.0.18 and switched from Courier to Dovecot to give my users the option to use server side mail filtering with sieve.
Now got the same error while creating a new email address. I also tried
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
with no...