Uninstall pop3 proxy packages

As the pop3 proxy (p3scan) has now been deprecated I’ve implemented a different solution. (CleanMail, if anyone is interested).

How do I uninstall the correct packages as deprecating this has removed it from the software center. Is it as simple as:

yum remove nethserver-mail-p3scan
yum remove p3scan

Or is there more involved.

Cheers.

And as a kinda, sorta, follow on as my comments above relate to the original UI software center. How the 'eck do you remove packages using the cockpit interface. It lists what not installed, but I can’t see how I list was is installed, with any option to remove.

Cheers.

Software Center

Following the 2020-05-05 updates, the pop3 proxy/p3scan no longer appears in the Software Center.

Cheers.

Interesting… @dev_team Should old modules, not currently supported, show up into software center?

Usually shown in Applications section, with option to remove the modules (module package, not always main program or its dependencies).

On Software Center there’s a button to list “Installed packages” (but without remove option).

In reference to nethserver-mail-p3scan, these are the packages its installation brought on a (not clean) test system (do not mind packages version):

    Dep-Install clamav-0.102.4-1.el7.x86_64                @epel
    Dep-Install clamav-filesystem-0.102.4-1.el7.noarch     @epel
    Dep-Install clamav-lib-0.102.4-1.el7.x86_64            @epel
    Dep-Install clamav-unofficial-sigs-7.0.1-5.el7.noarch  @epel
    Dep-Install clamav-update-0.102.4-1.el7.x86_64         @epel
    Dep-Install clamd-0.102.4-1.el7.x86_64                 @epel
    Dep-Install discount-2.2.4-1.el7.x86_64                @epel
    Dep-Install jemalloc-3.6.0-1.el7.x86_64                @epel
    Dep-Install libmarkdown-2.2.4-1.el7.x86_64             @epel
    Dep-Install libprelude-5.2.0-2.el7.x86_64              @epel
    Dep-Install libsodium-1.0.18-1.el7.x86_64              @epel
    Dep-Install libunwind-2:1.2-2.el7.x86_64               @ce-base
    Dep-Install mod_authnz_pam-1.1.0-1.el7.x86_64          @ce-base
    Dep-Install nethserver-antivirus-1.5.1-1.ns7.noarch    @nethserver-updates
    Dep-Install nethserver-mail-common-2.18.2-1.ns7.noarch @nethserver-updates
    Dep-Install nethserver-mail-filter-2.18.2-1.ns7.noarch @nethserver-updates
    Install     nethserver-mail-p3scan-2.18.2-1.ns7.noarch @nethserver-updates
    Dep-Install nethserver-unbound-1.1.0-1.ns7.noarch      @nethserver-base
    Dep-Install olefy-1.2.3-1.ns7.x86_64                   @nethserver-updates
    Dep-Install p3scan-2.3.2-7.ns7.x86_64                  @nethserver-base
    Dep-Install perl-Bit-Vector-7.3-3.el7.x86_64           @ce-base
    Dep-Install perl-Carp-Clan-6.04-10.el7.noarch          @ce-base
    Dep-Install perl-Date-Calc-6.3-14.el7.noarch           @ce-base
    Dep-Install perl-IO-Socket-INET6-2.69-5.el7.noarch     @ce-base
    Dep-Install perl-List-MoreUtils-0.33-9.el7.x86_64      @ce-base
    Dep-Install perl-NTLM-1.09-5.el7.noarch                @epel
    Dep-Install perl-Socket6-0.23-15.el7.x86_64            @ce-base
    Dep-Install python3-3.6.8-13.el7.x86_64                @ce-base
    Dep-Install python3-libs-3.6.8-13.el7.x86_64           @ce-base
    Dep-Install python3-pip-9.0.3-7.el7_7.noarch           @ce-updates
    Dep-Install python3-setuptools-39.2.0-10.el7.noarch    @ce-base
    Dep-Install redis-3.2.12-2.el7.x86_64                  @epel
    Dep-Install rspamd-2.2-1.x86_64                        @nethserver-base
    Dep-Install swaks-20170101.0-1.el7.noarch              @epel
    Dep-Install unbound-1.6.6-5.el7_8.x86_64               @ce-updates
    Dep-Install unbound-libs-1.6.6-5.el7_8.x86_64          @ce-updates
    Dep-Install zstd-1.4.5-3.el7.x86_64                    @epel

But that doesn’t mean all of them have to be removed, as some could be used by other modules.

You can try with autoremove option:

yum autoremove nethserver-mail-p3scan
1 Like

Not sure what you mean “Applications section”.

All I see are the 21 modules that I haven’t installed with 2 filters above them: Base System and Firewall.

Dependencies Resolved

================================================================================
 Package                 Arch    Version          Repository               Size
================================================================================
Removing:
 nethserver-mail-p3scan  noarch  2.18.2-1.ns7     @sb-nethserver-updates   71 k
Removing for dependencies:
 p3scan                  x86_64  2.3.2-7.ns7      @nethserver-updates     459 k

Running a deplist only shows the following packages, not the list you pasted above:

[root@Nethserver ~]# yum deplist  nethserver-mail-p3scan
Loaded plugins: changelog, elrepo, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * sb-base: u3.nethserver.com
 * sb-centos-sclo-rh: u3.nethserver.com
 * sb-centos-sclo-sclo: u3.nethserver.com
 * sb-epel: u3.nethserver.com
 * sb-extras: u3.nethserver.com
 * sb-nethserver-base: u3.nethserver.com
 * sb-nethserver-updates: u3.nethserver.com
 * sb-updates: u3.nethserver.com
package: nethserver-mail-p3scan.noarch 2.19.2-1.ns7
  dependency: /usr/bin/perl
   provider: perl.x86_64 4:5.16.3-297.el7
  dependency: nethserver-firewall-base
   provider: nethserver-firewall-base.noarch 3.13.0-1.ns7
  dependency: nethserver-mail-filter >= 2.19.2
   provider: nethserver-mail-filter.noarch 2.19.2-1.ns7
  dependency: p3scan
   provider: p3scan.x86_64 2.3.2-7.ns7
  dependency: perl(strict)
   provider: perl.x86_64 4:5.16.3-297.el7
[root@Nethserver ~]#

UPDATE
OK, taking that list a step further up the tree gets me closer to your paste:

[root@Nethserver ~]# yum deplist  nethserver-mail-filter
Loaded plugins: changelog, elrepo, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile
 * sb-base: u2.nethserver.com
 * sb-centos-sclo-rh: u2.nethserver.com
 * sb-centos-sclo-sclo: u2.nethserver.com
 * sb-epel: u2.nethserver.com
 * sb-extras: u2.nethserver.com
 * sb-nethserver-base: u2.nethserver.com
 * sb-nethserver-updates: u2.nethserver.com
 * sb-updates: u2.nethserver.com
package: nethserver-mail-filter.noarch 2.19.2-1.ns7
  dependency: mod_authnz_pam
   provider: mod_authnz_pam.x86_64 1.1.0-1.el7
  dependency: nethserver-antivirus
   provider: nethserver-antivirus.noarch 1.5.1-1.ns7
  dependency: nethserver-dnsmasq
   provider: nethserver-dnsmasq.noarch 1.7.2-1.ns7
  dependency: nethserver-httpd-admin-service
   provider: nethserver-httpd-admin-service.noarch 2.7.0-1.ns7
  dependency: nethserver-mail-common >= 2.19.2
   provider: nethserver-mail-common.noarch 2.19.2-1.ns7
  dependency: nethserver-unbound
   provider: nethserver-unbound.noarch 1.1.0-1.ns7
  dependency: olefy
   provider: olefy.x86_64 1.2.3-1.ns7
  dependency: redis
   provider: redis.x86_64 3.2.12-2.el7
  dependency: rspamd >= 2.2
   provider: rspamd.x86_64 2.5-156
  dependency: zstd
   provider: zstd.x86_64 1.4.5-3.el7
[root@Nethserver ~]#

So I guess it really is just the 2 packages.

Cheers.

It depends, if you do not filtering anymore, you can also remove nethserver-mail-filter.

You can remove only applications from the Applications page:

Deprecated packages can be removed from old Server Manager, or better from command line.

Usually such modules are hidden from the Software Center.

Sorry, I was referring to cockpit UI instead of the old server-manager you asked for.

I am really stupid (or maybe short memory…)
I was intending to suggest/ask for info about “Applications” and not “Software Center” for removing “not supported now” packages.
My bad @EddieA and @giacomo.

Into Cockpit, this menu
image

You can still remove them from the old Server Manager.
Since unsupported packages are, well, unsupported, I do not see way supporting the removal from the new Server Manager :slight_smile:

No, they don’t show up there. Or at least this one didn’t.

Cheers.