mx names can be used in the verifier-white-list and
verifier-black-list, prefixed by 'mx:'
This commit is contained in:
parent
4f3d692726
commit
5832197bde
@ -93,6 +93,7 @@ Kverifier_helper _VERIFIER_WHITELIST_', `dnl
|
||||
Kverifier_helper _VERIFIER_BLACKLIST_')
|
||||
Kvht_logger syslog
|
||||
C{verifier_fix_white} postmaster
|
||||
Kvbestmx bestmx
|
||||
|
||||
LOCAL_RULESETS
|
||||
# This ruleset can be used to test the verifier in -bt mode
|
||||
@ -102,7 +103,9 @@ R$+ $: < $(verifier $1 $:none $) >
|
||||
Sverifier0
|
||||
R< $={verifier_fix_white} @ $+ > $@ < ok >
|
||||
R< $+ @ $+ > $: < $2 > < $(verifier_helper $1 @ $2 $: $) >
|
||||
R< $+ > < > $: < $(verifier_helper $1 $: $) >
|
||||
R< $+ > < > $: < $1 > < $(verifier_helper $1 $: $) >
|
||||
R< $+ > < > $: < $1 > < $(vbestmx $1 $) >
|
||||
R< $+ > < $+ . > $: < $(verifier_helper "mx:" $2 "" $: $) >
|
||||
ifelse(_mode_, `white', `dnl
|
||||
dnl if we found nothing in the whitelist, we continue with checking
|
||||
R< > $@ < cont >
|
||||
|
Loading…
x
Reference in New Issue
Block a user