King0770-Notes-Internal-False-Positives: Difference between revisions

(Created page with "==Scenario== Sometimes users will blacklist their own domains by mistake.<br> ==Check internal users== Use the ldapsearch command as the zimbra to find out who's blocking int...")
(No difference)

Revision as of 21:28, 5 December 2018

Scenario

Sometimes users will blacklist their own domains by mistake.

Check internal users

Use the ldapsearch command as the zimbra to find out who's blocking internal domains.

source ~/bin/zmshutil; zmsetvars

ldapsearch -LLL -h ldap.example.com -D $zimbra_ldap_userdn -w $zimbra_ldap_password 'amavisBlacklistSender=*@example.com' displayName mail amavisBlacklistSender

Example from the ldapsearch results.

dn: uid=jramerez,ou=people,dc=example,dc=com
mail: jramerez@example.com
amavisBlacklistSender: @example.com
displayName: Jake Ramerez

Jump to: navigation, search