Luckily, I was able to figure this out by inspecting the WebUI and using the name attr of select (Allowed protocols).
It should be an array named “protocol_access” = [“imap”, “pop3”, “smtp”, “sieve”]
To disable any protocol, just remove it from the array.