* Niklaas Baudet von Gersdorff <st...@niklaas.eu> 2016.11.24 12:28:

> I appreciate any ideas or hints.

You should be able to workaround this with a restriction class. Although the 
example is not LDAP specific it should provide general direction:

# We will query for quotas on real mailboxes only via 
smtpd_recipient_restrictions
smtpd_restriction_classes =
 quota_users
quota_users =
 check_policy_service { unix:private/quota-status, timeout=10s, 
default_action=DUNNO }

smtpd_recipient_restrictions =
 [...]
 check_recipient_access lmdb:$config_directory/quota_users

The real accounts are listed here:

$ cat /etc/postfix/quota_users
u...@example.com         quota_users

Reply via email to