From 60857daa17ae612029c180f109065fc007d27335 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 13 Feb 2018 10:10:52 +0000
Subject: [PATCH] Don't need the bdsmail firewall

---
 src/freedombone-app-bdsmail | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/freedombone-app-bdsmail b/src/freedombone-app-bdsmail
index 5b7c5f638..53dda83e5 100755
--- a/src/freedombone-app-bdsmail
+++ b/src/freedombone-app-bdsmail
@@ -207,9 +207,6 @@ function remove_bdsmail {
         rm /etc/systemd/system/bdsmail.service
     fi
 
-    firewall_remove $I2P_SAM_PORT
-    firewall_remove $I2P_SMTP_PORT
-
     for d in /home/*/ ; do
         USERNAME=$(echo "$d" | awk -F '/' '{print $3}')
         if [[ $(is_valid_user "$USERNAME") == "1" ]]; then
@@ -390,9 +387,6 @@ function install_bdsmail {
             exit 638762424;;
     esac
 
-    firewall_add i2psam $I2P_SAM_PORT
-    firewall_add i2psmtp $I2P_SMTP_PORT
-
     APP_INSTALLED=1
 }
 
-- 
GitLab