Holger Weiss
4476c95f14
mod_spam_filter: Silence reload_spam_filter_files
...
Don't let the reload_spam_filter_files command spit out text on success.
2019-04-25 10:05:47 +02:00
Holger Weiss
4e15dcbd7d
mod_spam_filter: Clarify "spam_dump_file" docs
...
Mention that the spam messages will be dumped in raw XML format, and
that a <delay/> tag is added.
2019-04-24 19:36:23 +02:00
Holger Weiss
6fc4fccfbb
mod_spam_filter: Adjust docs regarding file paths
...
The specified file paths don't actually have to be absolute path names.
2019-04-24 19:22:36 +02:00
Holger Weiss
362c866862
mod_spam_filter: Add "spam_dump_file" option
...
If the new "spam_dump_file" option is used, messages classified as spam
will be written to the specified file path.
2019-04-24 19:19:15 +02:00
Holger Weiss
c1591030b0
mod_spam_filter: Don't filter MUC messages
2019-04-15 00:15:10 +02:00
Holger Weiss
4787e890af
mod_spam_filter: Fix typo in log message
2019-04-10 01:49:39 +02:00
Holger Weiss
05a5f002a3
mod_spam_filter: Return error for presence spam
...
Also return an error stanza for rejected presence spam, not just for
rejected messages.
2019-04-10 01:34:19 +02:00
Holger Weiss
e6249c41e2
mod_spam_filter: Also log spam recipient
...
Also log the recipient of rejected stanzas, not just the sender.
2019-04-10 01:12:20 +02:00
Holger Weiss
6a877d7018
mod_spam_filter: Add 'drop_from_spam_filter_cache'
...
Add a 'drop_from_spam_filter_cache' command that allows for removing
individual JIDs from the cache.
2019-04-10 00:49:36 +02:00
Holger Weiss
b5daceaac2
mod_spam_filter: Apply cosmetic changes
2019-04-09 22:46:05 +02:00
Holger Weiss
f459a7e57c
mod_spam_filter: Also check body for listed JIDs
...
Also check whether the message body contains a listed JID (usually
mentioned as a contact address), rather than just using the JID list to
check the 'from' address of incoming stanzas.
2019-04-09 20:46:12 +02:00
Holger Weiss
8f63b2cbae
mod_spam_filter: Check recipient's domain
...
Don't crash if the module isn't loaded for the 'to' domain. This would
otherwise happen for stanzas sent to subdomains (e.g., MUC messages).
Thanks to Nico Wellpott for reporting the bug and testing the fix.
2019-04-09 01:21:55 +02:00
Holger Weiss
83117240d2
Import mod_spam_filter
...
Add a module that allows for filtering spam messages and subscription
requests based on lists of known spammer JIDs and/or URLs mentioned in
spam messages.
Thanks to Georg Lukas for his suggestions.
2019-04-09 00:51:33 +02:00