Geert Hendrickx: > On Sun, Feb 14, 2010 at 07:42:58PM +0100, Stefan Palme wrote: > > > > > 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 all recipients are in the same domain, you can specify a catch-all > address with the domain-default action: > > > us...@example.com action1 > us...@example.com action2 > @example.com REJECT foobar
Minor correction: us...@example.com action1 us...@example.com action2 example.com REJECT foobar (the @domain notation is used mainly in address rewriting maps). Wietse