1

Topic: lock acces from internet only allow webmail access

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:  centos 6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? PRO
- Related log if you're reporting an issue:
====
How can I disallow a user to send email using a client but allow webmail via roundcube?
I disable smtp or smtpsecure but that disable webmail also.

----

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

2

Re: lock acces from internet only allow webmail access

We have a tutorial for you:
http://www.iredmail.org/docs/restrict.m … works.html

3

Re: lock acces from internet only allow webmail access

No Joy
I have added 127.0.0.1,192.168.2.2, and the public IP address of the server, set enablesmtp and enablesmtpsecured to 0 and it will not allow sending email using roundcube.
did I forget or missed something else?