Plugin is enabled, related line in settings.py is below
plugins = ['ldap_maillist_access_policy', 'ldap_amavisd_block_blacklisted_senders']
I sent an e-mail from nuh.87@hotmail.com which is not member or moderator of deneme@nevsehir.edu.tr disabled maillist. Log is here;
2015-09-16 11:27:46 DEBUG smtp session: request=smtpd_access_policy
2015-09-16 11:27:46 DEBUG smtp session: protocol_state=RCPT
2015-09-16 11:27:46 DEBUG smtp session: protocol_name=ESMTP
2015-09-16 11:27:46 DEBUG smtp session: client_address=157.55.2.102
2015-09-16 11:27:46 DEBUG smtp session: client_name=dub004-omc4s27.hotmail.com
2015-09-16 11:27:46 DEBUG smtp session: reverse_client_name=dub004-omc4s27.hotmail.com
2015-09-16 11:27:46 DEBUG smtp session: helo_name=DUB004-OMC4S27.hotmail.com
2015-09-16 11:27:46 DEBUG smtp session: sender=nuh.87@hotmail.com
2015-09-16 11:27:46 DEBUG smtp session: recipient=deneme@nevsehir.edu.tr
2015-09-16 11:27:46 DEBUG smtp session: recipient_count=0
2015-09-16 11:27:46 DEBUG smtp session: queue_id=
2015-09-16 11:27:46 DEBUG smtp session: instance=6de7.55f92801.de254.0
2015-09-16 11:27:46 DEBUG smtp session: size=1694
2015-09-16 11:27:46 DEBUG smtp session: etrn_domain=
2015-09-16 11:27:46 DEBUG smtp session: stress=
2015-09-16 11:27:46 DEBUG smtp session: sasl_method=
2015-09-16 11:27:46 DEBUG smtp session: sasl_username=
2015-09-16 11:27:46 DEBUG smtp session: sasl_sender=
2015-09-16 11:27:46 DEBUG smtp session: ccert_subject=
2015-09-16 11:27:46 DEBUG smtp session: ccert_issuer=
2015-09-16 11:27:46 DEBUG smtp session: ccert_fingerprint=
2015-09-16 11:27:46 DEBUG smtp session: ccert_pubkey_fingerprint=
2015-09-16 11:27:46 DEBUG smtp session: encryption_protocol=TLSv1.2
2015-09-16 11:27:46 DEBUG smtp session: encryption_cipher=ECDHE-RSA-AES256-SHA384
2015-09-16 11:27:46 DEBUG smtp session: encryption_keysize=256
2015-09-16 11:27:46 DEBUG LDAP connection initialied success.
2015-09-16 11:27:46 DEBUG LDAP bind success.
2015-09-16 11:27:46 DEBUG [+] Getting LDIF data of account: deneme@nevsehir.edu.tr
2015-09-16 11:27:46 DEBUG search base dn: o=domains,dc=nevsehir,dc=edu,dc=tr
2015-09-16 11:27:46 DEBUG search scope: SUBTREE
2015-09-16 11:27:46 DEBUG search filter: (&(|(mail=deneme@nevsehir.edu.tr)(shadowAddress=deneme@nevsehir.edu.tr))(|(objectClass=mailUser)(objectClass=mailList)(objectClass=mailAlias)))
2015-09-16 11:27:46 DEBUG search attributes: ['objectClass', 'listAllowedUser', 'accessPolicy', 'amavisBlacklistSender', 'amavisWhitelistSender']
2015-09-16 11:27:46 DEBUG result: [('mail=deneme@nevsehir.edu.tr,ou=Groups,domainName=nevsehir.edu.tr,o=domains,dc=nevsehir,dc=edu,dc=tr', {'objectClass': ['mailList'], 'accessPolicy': ['domain'], 'listAllowedUser': ['kursat@nevsehir.edu.tr']})]
2015-09-16 11:27:46 DEBUG --> Apply plugin: ldap_maillist_access_policy
2015-09-16 11:27:46 DEBUG Access policy of mailing list (deneme@nevsehir.edu.tr): domain
2015-09-16 11:27:46 DEBUG <!> Error: 'conn'
2015-09-16 11:27:46 DEBUG --> Apply plugin: ldap_amavisd_block_blacklisted_senders
2015-09-16 11:27:46 DEBUG <-- Result: DUNNO (Not a amavisdAccount object)
2015-09-16 11:27:46 INFO [157.55.2.102] RCPT, nuh.87@hotmail.com -> deneme@nevsehir.edu.tr, DUNNO
2015-09-16 11:27:46 DEBUG Session ended
2015-09-16 11:27:46 DEBUG Close LDAP connection.