Stefan Palme a écrit : >> check_recipient_access hash:/etc/postfix/recipients >> check_recipient_access pcre:/etc/postfix/recipients_default >> >> // REJECT rejected for testing purposes > > Thanks for the hint. But the content of "recipients_default" must > also be stored in LDAP (because some admin with LDAP access privileges > will define the default behaviour), so I can not use regular expression > lookups, but only the lookups as defined by the access(5) syntax. >
if it's in ldap, then do it in ldap instead of pcre. make your ldap query return the "default behaviour" whatever the key is.