Topic: Bug in iptables script
==== Required information ====
- iRedMail version: 0.9.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 8
- Related log if you're reporting an issue:
====
To be able to start/stop iptables on Debian 8 without systemd throwing an error the following script needs to be created in /etc/default named iptables-config with the following content:
IPTABLES_MODULES_UNLOAD=no
The reason is that the function rmmod_r() in /etc/init.d/iptables seems to be incapable of unloading the iptables modules in which case it trows an error code making systemd complain of a failing script.
Not having the file with the content doesn't mean iptables will not be loaded with the rules in /etc/default/iptables but to avoid a lot of noise in the logs and when starting and stopping the server you should apply the file anyway
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.