1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

mod_antispam: Mention usage of CONFIG_PATH predefined keyword

This commit is contained in:
Badlop 2025-07-11 12:06:40 +02:00
parent e4d424bf56
commit 4a66616756

View file

@ -226,6 +226,9 @@ mod_doc() ->
"are classified as spam if sender is not in recipient's roster. " "are classified as spam if sender is not in recipient's roster. "
"This list of domains gets merged with the one retrieved " "This list of domains gets merged with the one retrieved "
"by an RTBL host if any given. " "by an RTBL host if any given. "
"Use an absolute path, or the '@CONFIG_PATH@' "
"https://docs.ejabberd.im/admin/configuration/file-format/#predefined-keywords[predefined keyword] "
"if the file is available in the configuration directory. "
"The default value is 'none'.")}}, "The default value is 'none'.")}},
{spam_dump_file, {spam_dump_file,
#{value => ?T("false | true | Path"), #{value => ?T("false | true | Path"),
@ -248,6 +251,9 @@ mod_doc() ->
"are classified as spam as well. " "are classified as spam as well. "
"Furthermore, the sender's JID will be cached, " "Furthermore, the sender's JID will be cached, "
"so that future traffic originating from that JID will also be classified as spam. " "so that future traffic originating from that JID will also be classified as spam. "
"Use an absolute path, or the '@CONFIG_PATH@' "
"https://docs.ejabberd.im/admin/configuration/file-format/#predefined-keywords[predefined keyword] "
"if the file is available in the configuration directory. "
"The default value is 'none'.")}}, "The default value is 'none'.")}},
{spam_urls_file, {spam_urls_file,
#{value => ?T("none | Path"), #{value => ?T("none | Path"),
@ -257,6 +263,9 @@ mod_doc() ->
"Messages containing at least one of the listed URLs are classified as spam. " "Messages containing at least one of the listed URLs are classified as spam. "
"Furthermore, the sender's JID will be cached, " "Furthermore, the sender's JID will be cached, "
"so that future traffic originating from that JID will be classified as spam as well. " "so that future traffic originating from that JID will be classified as spam as well. "
"Use an absolute path, or the '@CONFIG_PATH@' "
"https://docs.ejabberd.im/admin/configuration/file-format/#predefined-keywords[predefined keyword] "
"if the file is available in the configuration directory. "
"The default value is 'none'.")}}, "The default value is 'none'.")}},
{whitelist_domains_file, {whitelist_domains_file,
#{value => ?T("none | Path"), #{value => ?T("none | Path"),
@ -266,6 +275,9 @@ mod_doc() ->
"If either it is in 'spam_domains_file' or more realistically " "If either it is in 'spam_domains_file' or more realistically "
"in a domain sent by a RTBL host (see option 'rtbl_services') " "in a domain sent by a RTBL host (see option 'rtbl_services') "
"then this domain will be ignored and stanzas from there won't be blocked. " "then this domain will be ignored and stanzas from there won't be blocked. "
"Use an absolute path, or the '@CONFIG_PATH@' "
"https://docs.ejabberd.im/admin/configuration/file-format/#predefined-keywords[predefined keyword] "
"if the file is available in the configuration directory. "
"The default value is 'none'.")}}], "The default value is 'none'.")}}],
example => example =>
["modules:", ["modules:",