1

Topic: uninstalling/removing/deleting iredmail startup iptables script

Guys i'm getting mad.
I said no to installer when promped if i wanted to use iredmail firewall, but however iredmail use some kind of script that load the same iptables config everytime i reboot.
How in the blue hell can i remove this script for using mine?
Searched in all init-init.d-rc files but i found nothing.
i dont have a /etc/default/iptables file.
Please Help, thanks and sorry if my english isn't that good but im a maccheroni pizza mandolino italian spaghetti boy.

Regards,
Dave

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend: MySQL
- Linux/BSD distribution name and version: Debian 7
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: uninstalling/removing/deleting iredmail startup iptables script

Check script /etc/init.d//iptables. You can disable it with below command:

# update-rc.d iptables remove

3

Re: uninstalling/removing/deleting iredmail startup iptables script

ZhangHuangbin wrote:

Check script /etc/init.d//iptables. You can disable it with below command:

# update-rc.d iptables remove

Hi Zhang,
I have not that script in /etc/init.d
using the command

# update-rc.d iptables remove

and rebooting i still have same rules enabled.
sad

4

Re: uninstalling/removing/deleting iredmail startup iptables script

iRedMail installs /etc/init.d/iptables and /etc/default/iptables on Debian, if you don't have them, i have no idea why this issue occurs.

5

Re: uninstalling/removing/deleting iredmail startup iptables script

ZhangHuangbin wrote:

iRedMail installs /etc/init.d/iptables and /etc/default/iptables on Debian, if you don't have them, i have no idea why this issue occurs.

Fix:
Installed iptables-persistent, edited /etc/iptables/rules.v4 with my rules and added

service iptables-persistent start

in /etc/rc.local file

6

Re: uninstalling/removing/deleting iredmail startup iptables script

This is not expected. your server should have /etc/init.d/iptables and /etc/default/iptables installed by iRedMail on Debian.