X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/6808e0f19ec9a9544241e26cf1e3179eb86bbd00..ef546e788203ac3881abe2ddb17f3e24f6524d15:/doc/doc-docbook/spec.xfpt diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 4147ee205..b1387eb49 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -14578,6 +14578,7 @@ listed in more than one group. .row &%percent_hack_domains%& "recognize %-hack for these domains" .row &%spamd_address%& "set interface to SpamAssassin" .row &%strict_acl_vars%& "object to unset ACL variables" +.row &%spf_smtp_comment_template%& "template for &$spf_smtp_comment$&" .endtable @@ -17761,6 +17762,41 @@ See section &<>& for more details. This option is available when Exim is compiled with SPF support. See section &<>& for more details. +.new +.option spf_smtp_comment_template main string&!! "Please%_see%_http://www.open-spf.org/Why" +This option is available when Exim is compiled with SPF support. It +allows the customisation of the SMTP comment that the SPF library +generates. You are strongly encouraged to link to your own explanative +site. The following placeholders (along with Exim variables) are allowed +in the template (this list is compiled from the libspf2 sources): +.ilist +&*L*&: Envelope sender's local part. +.next +&*S*&: Envelope sender. +.next +&*O*&: Envelope sender's domain. +.next +&*D*&: Current(?) domain. +.next +&*I*&: SMTP client Ip. +.next +&*C*&: SMTP client pretty IP. +.next +&*T*&: Epoch time (UTC). +.next +&*P*&: SMTP client domain name. +.next +&*V*&: IP version. +.next +&*H*&: EHLO/HELO domain. +.next +&*R*&: Receiving domain. +.endlist +The capitalized placeholders do proper URL encoding, if you use them +lowercased, no encoding takes place. A note on using Exim variables: As +currenty the SPF library is initialized already during the EHLO phase, +the amount of variables available for expansion is quite limited. +.wen .option split_spool_directory main boolean false @@ -41044,8 +41080,13 @@ variables: .vitem &$spf_smtp_comment$& .vindex &$spf_smtp_comment$& +.vindex &%spf_smtp_comment_template%& This contains a string that can be used in a SMTP response to the calling party. Useful for "fail". +.new + The string is generated by the SPF library from the template configured in the main config + option &%spf_smtp_comment_template%&. +.wen .endlist