1

Topic: Disable webmail for some of the users

Dear All,

I am new to Linux and installed the postfix with Roundcube web mail.

v1.6.3 (LDAP)
Mysql
Redhat

Can anyone please let me know how do I disable the webmail option for some of the users in the mail server. I am not finding any option in the Iredadmin panel.

Regards,
Anil.


==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Disable webmail for some of the users

Since Roundcube accesses mailbox via IMAP protocol, you cannot simply disable webmail.
An alternative solution is, if your webmail is hosted on localhost, you can disable IMAP request from localhost (127.0.0.1) for those users.

3

Re: Disable webmail for some of the users

ZhangHuangbin: Could you give us more details, where exactly is it possible to  disable IMAP request  for some spec. users?


ZhangHuangbin wrote:

Since Roundcube accesses mailbox via IMAP protocol, you cannot simply disable webmail.
An alternative solution is, if your webmail is hosted on localhost, you can disable IMAP request from localhost (127.0.0.1) for those users.

4

Re: Disable webmail for some of the users

Hi labasus,

You can restrict this with Dovecot post login script. Reference:
http://wiki2.dovecot.org/PostLoginScripting