How to completely uninstall mailman?

Discussion in 'Installation/Configuration' started by Sergio W., Nov 29, 2022.

  1. Sergio W.

    Sergio W. Member

    Hi,
    I'd like to completely uninstall mailman from ISPConfig. It was installed using autoinstaller, is it possible? how?
    Thanks!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Do you know what OS is running on that host?
    If it were Debian GNU/Linux, removing would go something like
    Code:
    apt purge mailman
    apt autoremove
    Then
    Code:
    dpkg --list | grep -i mailman
    and purge those packages if needed.
     
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    never installed it, so not 100%, but i would assume the typical method would work perfectly fine... remove to remove the package, and purge to remove any configs.

    apt remove mailman
    apt purge mailman
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Purge does also remove, so it is not necessary to run apt remove first.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    I would be careful in removing configs, better just uninstall the package and not purge it. Removing the configs means that there might be files missing that are loaded by postfix. As these are empty unless you use mailman, it doe snot hurt that they are there, but if they are missing, postfix will fail.
     
  6. Sergio W.

    Sergio W. Member

    Thanks for your replies and sorry for not specifying the distro, Ubuntu 20.04 server.
    Is there any other change to make in ISPConfig after that?
    Thank you!
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    mailman is not installed on your system at all as mailman 2 is not available on Ubuntu 22.04. The auto-installer has informed you about that during install, if I remember correctly.
     
  8. Sergio W.

    Sergio W. Member

    It's 20.04, is it the same?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Sorry, misread your post. Mailman 2 exists in Ubuntu 20.04 but not 22.04. On Ubuntu 20.04, just uninstall it with apt but don't purge it. Personally, I won't uninstall it even if it's not in use.
     
  10. Sergio W.

    Sergio W. Member

    Thanks till!
     

Share This Page