Topic: How to allow only access through webmail (roundcube) for a user?
I got a question. How can I disable remote SMTP/POP/IMAP access for a particular user, and allow only through webmail (roundcube).
I can't simply set "enableimap" to 0 in `mailbox` table because then roundcube won't work (it uses IMAP).
Also, simply disabling SMTP and POP3 (enablesmtp, enablepop3) would not be enough, he/she could still use IMAP.
Is there a quick way to this? Preferably using the MySQL tables, so I can write a PHP script to easy enable/disable?