King0770-Notes-Internal-False-Positives

Revision as of 21:42, 5 December 2018 by King0770 (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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