mdadm installs postfix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Opinion
|
Medium
|
Unassigned |
Bug Description
Binary package hint: mdadm
When upgrading to Jaunty from Intrepid, the mdadm package installed postfix. I can't see why a package that manage software RAID partitions needs a mail transport agent, but what is worse is that my desktop machine is suddenly turned into a mail server. One of the reasons Ubuntu desktop is deemed secure is that it does not run unnecessary services.
The dependency has been introduced in version 2.6.7.1-1ubuntu5; from the changelog:
mdadm (2.6.7.1-1ubuntu5) jaunty; urgency=low
* Depend on postfix | mail-transport-
correct default MTA for Ubuntu.
During the upgrade the postfix configuration was run and although I ticked not to configure, the postfix service was running by default anyway.
I manually uninstalled postfix and mdadm runs perfectly fine. Can this dependency be removed?
--
-> mdadm should by default only install with a small local mail delivery system (like esmtp + procmail) but not postfix on desktops, laptops etc.! On servers postfix is pulled in by server tasks anyway.
Here is how to setup esmtp+procmail:
apt-get install esmtp procmail
echo mda=\'/
(as documented in /usr/share/
visibility: | private → public |
security vulnerability: | yes → no |
Changed in mdadm (Ubuntu): | |
status: | Fix Released → Confirmed |
status: | Confirmed → Incomplete |
status: | Incomplete → Confirmed |
Agree, I had to manually remove postfix, and set up msmtp-mta instead.
I prefer the approach Debian takes which has "mail-transport -agent" as a "recommends" dependency.
I don't know exactly how Debian works, but I presume it presents the user with the option to install various MTA's or not install one at all.