camel1cz wrote:
There is only one thing, I don't like on this solution: if I'm not wrong, disabling enablewebmail doesn't prevent the user accessing webmail in case, he has enableimapsecure active. It's not a big deal, but the new argument should work exactly the same as all others, so I would adjust the implementation to:
If you allow this user to access IMAP (enableimapsecured=1), why don't allow him/her to use webmail? Does it make sense?