Hello,

I´m trying to use the new inline:{key=value, ...}-map in combination with smtpd_restriction_classes. What I want the map to do is to reject per default (last key is a kind of wildcard?) if no key=value matched. Actually I´ve realized this with PCRE-maps, which results in a lot of files :(. Something like this would be nice:

[...]
smtpd_restriction_classes = check_test, ...

check_test =
  check_sender_access = inline:{send...@example.org=DUNNO, *=reject},
check_recipient_access = inline:{recipie...@example.org=permit, *=reject},
  reject

[...]

Is there a possibility to specify a wildcard-key in a inline map?

Thanks in advance and greetings,
Dominik

Reply via email to