axl_bool valvulad_run_is_local_delivery ( ValvuladCtx ctx,
ValvulaRequest *  request 

Allows to check if the provided request represents a local delivery (to domains handled by this server).

ctxThe context where the operation will be checked.
requestThe request to be checked.
axl_true in the case the request is considered local, otherwise axl_false is returned, which in that case, represents a relay operation. The function also returns axl_false in the case request or ctx is NULL.

References valvula_get_recipient_domain(), and valvulad_run_is_local_domain().