Topic: Search filter issue in iRedAdmin-Pro Control panel
==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
Hi All,
When i search for mail transaction logs (ex: email received or sent to gmail.com) in control panel as a domain admin it is fetching all other domain users logs also.
Kindly suggest how to restrict the search per domain wise for domain admin.
Below are search filter in amavisd.conf:
=====================================
# Integrate Amavisd-new with OpenLDAP.
$enable_ldap = 1; # 1 -> enable, 0 -> disable.
$default_ldap = {
hostname => "127.0.0.1",
port => 389,
version => 3,
tls => 0,
timeout => 120,
base => "o=domains,dc=****,dc=********,dc=com",
scope => "sub",
query_filter => "(&(objectClass=mailUser)(objectClass=amavisAccount)(accountStatus=active)(|(mail=%m)(shadowAddress=%m)))",
bind_dn => "cn=vmail,dc=****,dc=***********,dc=com",
bind_password => "**************",
===========================================
Thanks in advance.
Khanb
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.