1

Topic: Hotfix for iRedAPD-1.3.2: Blacklisting all recipients

Hi, all.

There's a bug in iRedAPD-1.3.2, it will cause blacklisting all recipients (@.) not work.

You can simply fix it by edit line 61 of file /opt/iRedAPD-1.3.2/src/plugins-rr/ldap_recipient_restrictions.py:

# This is OLD code:
    if len(set(list_recipients) & set(blRecipients)) > 0:

# Change it to:
    if len(set(list_recipients) & set(blRecipients)) > 0 or '@.' in blRecipients:

Thanks avrajesh for his/her feedback. smile