Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14122

Search filter issue in iRedAdmin-Pro Control panel

$
0
0

==== 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


Viewing all articles
Browse latest Browse all 14122

Trending Articles