Topic: Security issue Domains not truly isolated
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Centos6.7 x86_64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin (not pro)
- Related log if you're reporting an issue:
====
So we have created two domains domain.aa and domain.bb
And when sharing (calendar, folder, or even contacts) we are able to do a search and see domain.bb
Is there a database setting that stops this?
Not sure if it makes a difference but:
This server has multiple domains pointed at it in dns to the one ip address. Currently the apache config for SOGO has
<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "mail.domain.aa"
RequestHeader set "x-webobjects-server-url" "https://mail.domain.aa"
## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
RequestHeader unset "x-webobjects-remote-user"
# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" env=REMOTE_USER
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.