Diff

mod_firewall/scripts/spam-blocking.pfw @ 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
parent 2556:cc01a5bfcf3b
child 2565:fc53165d8afe
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