1# Milter client23The 'milter' implements subset of Sendmail's milter protocol that can be used4to integrate external software with maddy.5maddy implements version 6 of the protocol, older versions are6not supported.78Notable limitations of protocol implementation in maddy include:91. Changes of envelope sender address are not supported102. Removal and addition of envelope recipients is not supported113. Removal and replacement of header fields is not supported124. Headers fields can be inserted only on top135. Milter does not receive some "macros" provided by sendmail.1415Restrictions 1 and 2 are inherent to the maddy checks interface and cannot be16removed without major changes to it. Restrictions 3, 4 and 5 are temporary due to17incomplete implementation.1819```20check.milter {21 endpoint <endpoint>22 fail_open false23}2425milter <endpoint>26```2728## Arguments2930When defined inline, the first argument specifies endpoint to access milter31via. See below.3233## Configuration directives3435### endpoint _scheme://path_36Default: not set3738Specifies milter protocol endpoint to use.39The endpoit is specified in standard URL-like format:40`tcp://127.0.0.1:6669` or `unix:///var/lib/milter/filter.sock`4142---4344### fail_open _boolean_45Default: `false`4647Toggles behavior on milter I/O errors. If false ("fail closed") - message is48rejected with temporary error code. If true ("fail open") - check is skipped.49