Skip to content

Instantly share code, notes, and snippets.

@SirmaXX
Created February 4, 2024 23:51
Show Gist options
  • Save SirmaXX/b5490fa9b084ba76b9a3b4e0d0a86299 to your computer and use it in GitHub Desktop.
Save SirmaXX/b5490fa9b084ba76b9a3b4e0d0a86299 to your computer and use it in GitHub Desktop.
remove modoboa
sudo apt-get purge fail2ban modoboa automx amavis clamav dovecot postfix postwhite spamassassin radicale opendkim backup nginx
sudo rm -r /srv/automx
sudo rm -r /srv/radicale
sudo rm -r /run/opendkim
sudo rm -r /srv/vmail
sudo rm -r /srv/modoboa
sudo delgroup automx
sudo delgroup radicale
sudo delgroup opendkim
sudo delgroup vmail
sudo delgroup modoboa
# Terminate processes associated with the user 'opendkim'
sudo pkill -u automx
# Forcefully remove the user 'opendkim' and its home directory
sudo userdel -rf automx
sudo apt-get purge fail2ban modoboa automx amavis clamav dovecot postfix postwhite spamassassin radicale opendkim backup nginx
# Terminate processes associated with the user 'modoboa'
sudo pkill -u modoboa
# Forcefully remove the user 'modoboa' and its home directory
sudo userdel -rf modoboa
# Terminate processes associated with the user 'opendkim'
sudo pkill -u opendkim
# Forcefully remove the user 'opendkim' and its home directory
sudo userdel -rf opendkim
# Terminate processes associated with the user 'opendkim'
sudo pkill -u clamav
# Forcefully remove the user 'opendkim' and its home directory
sudo userdel -rf clamav
# Terminate processes associated with the user 'opendkim'
sudo pkill -u amavis
# Forcefully remove the user 'opendkim' and its home directory
sudo userdel -rf amavis
# Terminate processes associated with the user 'opendkim'
sudo pkill -u mailadmin
# Forcefully remove the user 'opendkim' and its home directory
sudo userdel -rf mailadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment