Issue
How to uninstall or remove the Imunify Email extension configured with Imunify360?
Environment
- Any control panel.
- Any OS.
- Imunify Email.
Solution
To remove Imunify Email from the system, first, disable ImunifyEmail:
ie-config disable
- The above command removes all services and restores the Exim config by removing the spam filter configuration.
- Then, it is possible to remove associated packages:
# yum remove imunifyemail imunifyemail-cli imunifyemail-dec-node imunifyemail-quarantine imunifyemail-rspamd
- In case of uninstallation fails or ImunifyEmail wasn't disabled, the system daemons can be stopped and removed:
# rm -rf /usr/lib/systemd/system/ie-* && systemctl daemon-reload && systemctl stop ie-quarantine; systemctl stop ie-dec-node
- As well ImunifyEmail settings under /etc can be removed:
# rm -rf /etc/imunifyemail;
Is it safe to remove this folder once we uninstall it?
12G /var/imunifyemail 11G /var/imunifyemail/dec-node/storage/data
A:
It is safe to remove mentioned directories.
A small note here: /var/imunifyemail
stores messages that have been quarantined. Hence, if those directories are removed those messages will be lost.
Keep in mind that the command ie-config disable will not work if you have uninstalled Imunify360 first. In that case, you would need to reinstall it, run the command, and then uninstall Imunify360.
Cause
Upon installation, Imunify Email is integrated with Imunify360 and is expected to be disabled. Manual removal is required instead. Also, ImunifyEmail will be removed if Imunify360 is uninstalled.
Comments
0 comments
Please sign in to leave a comment.