mx names can be used in the verifier-white-list and

verifier-black-list, prefixed by 'mx:'
This commit is contained in:
whottgen 2004-12-03 10:46:33 +00:00
parent 4f3d692726
commit 5832197bde

View File

@ -93,6 +93,7 @@ Kverifier_helper _VERIFIER_WHITELIST_', `dnl
Kverifier_helper _VERIFIER_BLACKLIST_') Kverifier_helper _VERIFIER_BLACKLIST_')
Kvht_logger syslog Kvht_logger syslog
C{verifier_fix_white} postmaster C{verifier_fix_white} postmaster
Kvbestmx bestmx
LOCAL_RULESETS LOCAL_RULESETS
# This ruleset can be used to test the verifier in -bt mode # This ruleset can be used to test the verifier in -bt mode
@ -102,7 +103,9 @@ R$+ $: < $(verifier $1 $:none $) >
Sverifier0 Sverifier0
R< $={verifier_fix_white} @ $+ > $@ < ok > R< $={verifier_fix_white} @ $+ > $@ < ok >
R< $+ @ $+ > $: < $2 > < $(verifier_helper $1 @ $2 $: $) > 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 ifelse(_mode_, `white', `dnl
dnl if we found nothing in the whitelist, we continue with checking dnl if we found nothing in the whitelist, we continue with checking
R< > $@ < cont > R< > $@ < cont >