Difference between revisions of "King0770-Notes-Internal-False-Positives"

(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...")
 
(Check internal users)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Sometimes users will blacklist their own domains by mistake.<br>
 
Sometimes users will blacklist their own domains by mistake.<br>
  
==Check internal users==
+
===Check internal users===
Use the ldapsearch command as the zimbra to find out who's blocking internal domains.<br>
+
Use the ldapsearch command as the zimbra user to find out who's blocking internal domains.<br>
  
 
<code><pre>
 
<code><pre>
Line 17: Line 17:
 
amavisBlacklistSender: @example.com
 
amavisBlacklistSender: @example.com
 
displayName: Jake Ramerez
 
displayName: Jake Ramerez
 +
</pre></code>
  
 +
===Update and remove===
 +
Once you find the account that was blacklisting the internal domain, update it; here's an example.<br>
 +
<code><pre>
 +
zmprov ma jramerez@example.com -amavisBlacklistSender "@example.com"          <<== note the use of the hyphen character
 
</pre></code>
 
</pre></code>
 +
 +
More articles written by me, https://wiki.zimbra.com/wiki/King0770-Notes
 +
 +
[[Category:Community Sandbox]]
 +
[[Category:Command Line Interface]]
 +
[[Category:LDAP]]
 +
[[Category:King0770-Notes]]

Latest revision as of 19:03, 20 December 2018

Scenario

Sometimes users will blacklist their own domains by mistake.

Check internal users

Use the ldapsearch command as the zimbra user 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

Update and remove

Once you find the account that was blacklisting the internal domain, update it; here's an example.

zmprov ma jramerez@example.com -amavisBlacklistSender "@example.com"          <<== note the use of the hyphen character

More articles written by me, https://wiki.zimbra.com/wiki/King0770-Notes

Jump to: navigation, search