- anyone can use a local account and flood external systems (cherry picked from commit 41f41d6d2850cdd5ab1a1b5d55bbb7ebd697ff7a)
@@ -750,6 +750,14 @@ route[AUTH] {
exit;
}
+#!else
+
+ # authentication not enabled - do not relay at all to foreign networks
+ if(uri!=myself) {
+ sl_send_reply("403","Not relaying");
+ exit;
+ }
#!endif
return;