Use scripts to create some malicious directories. Here is my creation process. How can I prevent the creation of these directories?
I used the python imapclient script to create a directory.

There may be no big threat to dovecot, but it is dangerous for doveadm.