Public bug reported: The package "libapache-mod-evasive" has a dependency on mailx to send email notifications. However, these notifications are an optional feature, a feature without which the package works just fine.
mailx is not that big of a package to install so it's not a problem. However, all of the packages providing it also depend on default-mta which my default installs postfix. Installing postfix or another MTA is generally not what you want unless you are really sure your system should send mail. To mitigate this, I suggest downgrading mailx from a hard dependency to a recommended dependency. That way most people will still install it and get the default behaviour, but others who don't need it can avoid it. A current workaround is to install lsb-invalid-mta, but that is not an ideal solution. Ubuntu version: Description: Ubuntu 18.04.5 LTS Release: 18.04 Package version: libapache-mod-evasive 1.10.1-3 Expected behaviour: # apt install --no-install-recommends libapache-mod-evasive The apache module is installed Observed behaviour: # apt install --no-install-recommends libapache-mod-evasive The module is installed, but so is postfix. ** Affects: libapache-mod-evasive (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898014 Title: Unnecessary dependency on mailx To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libapache-mod-evasive/+bug/1898014/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs