Skip to main content

MM7 Server Received Message Validation Hook

Last updated March 2020

Purpose

The MM7 Server Received Message Validation Hook actually utilizes the Momentum's validate_data_spool_each_rcpt hook point to enable the user to inspect the incoming MM7 request and perform context validation on a per-recipient basis, for example, performing a anti-virus check. This hook is invoked once during ec_message generation for each intended recipient of the request. To implement this hook, the user must implement the validate_data_spool_each_rcpt hook and put all the validation logic for the MM7 request into a control block for MM7 protocol only. See the examples in “Examples”. Logic outside of the protocol check block will affect all incoming requests in other protocols.

Was this page helpful?