dnl dnl LOCAL_CONFIG dnl dnl Kstorage_ID macro dnl dnl LOCAL_RULESETS dnl dnl ###################################################################### # Check Message-Id field # ###################################################################### dnl HMessage-Id: $>CheckMessageId dnl SCheckMessageId dnl R $* $: $(storage_ID {MessageIdCheck} $@ OK $) $1 ifdef(`confCHECK_MESSAGE_ID',` R < $- . $- . $- $u @ $h > $#error $: ${SpamMsg} R < $+ @ $+ > $@ OK R$* $#error $: 553 Invalid Message-Id header ',`')dnl Scheck_eoh ifdef(`confMESSAGE_ID_MUST_EXIST',` # Check the macro R $* $: < $&{MessageIdCheck} > # Clear the macro for the next message R $* $: $(storage_ID {MessageIdCheck} $) $1 # Has a Message-Id: header R < $+ > $@ OK # Allow missing Message-Id: from local mail R $* $: < $&{IsOutgoing} > $1 # Otherwise, reject the mail R < NO > $* $#error $: 553 Missing Message-Id header R < $* > $* $: $2 ',`')dnl