Hi, I guess I'm just temporarily blind, but I can't find a solution. I have a smtpd_recipient_restriction like this:
..., check_recipient_access hash:/etc/postfix/recipients, permit with /etc/postfix/recipients: us...@example.com REJECT don't use this! us...@example.net DEFER some other reason . REJECT rejected for testing purposes (This is just for some tests, so don't mind about how useful this may be ;-) The last entry in this file seems not to work - all recipient addresses (except us...@example.com and us...@example.net) fall through this test, so that the next rule in recipient_restrictions ("permit") applies to them. Is there a way to define a kind of "fallback lookup pattern"? [Some background information: this "recipients" file will later be converted into an LDAP lookup. For this reason, the following will NOT be a solution for me: smtpd_recipient_restrictions = ..., check_recipient_access ldap:/etc/postfix/recipients.cf, reject rejected for testing purposes, Because the person with access to the LDAP tree containing the recipients information must also be able to define the default behaviour for all the not explicitly specified recipient addresses]. Regards -stefan-