Changeset

2557:56db2ab3b853

mod_firewall: spam-blocking.pfw: Allow unsubscribe/unsubscribed presence
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Feb 2017 14:26:19 +0000
parents 2556:cc01a5bfcf3b
children 2558:2b533a7b5236
files mod_firewall/scripts/spam-blocking.pfw
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/scripts/spam-blocking.pfw	Thu Feb 23 14:14:38 2017 +0000
+++ b/mod_firewall/scripts/spam-blocking.pfw	Thu Feb 23 14:26:19 2017 +0000
@@ -38,6 +38,11 @@
 #### Rules for presence stanzas ####
 ::user/check_spam_presence
 
+# These may be received if rosters get out of sync, and are harmless
+# because they will not be routed to the client unless necessary
+TYPE: unsubscribe|unsubscribed
+PASS.
+
 # We don't want to receive presence from random strangers,
 # but still allow subscription requests
 NOT TYPE: subscribe