No MTA
Summary
Don't ship a MTA by default for the desktop.
Owner
- Name: Adam Miller
- email: maxamillion [AT] gmail.com
Current status
- Targeted release: Fedora 13
- Last updated: 2009-08-27
- Percentage of completion: 0%
Working:
- Everything as designed
TODO:
- Verify there are no packages that will require a patch to function without a MTA
Detailed Description
The shipping of a default MTA has long been the de facto standard, but for the vast majority of users this is simply wasted resources and wasted disk space for the packages installed. Without an MTA the utilities that would have previously delivered local mail will just simply silently not deliver mail. Instead we can redirect the output to a log and those users who need a MTA are free to install any one they so choose.
Benefit to Fedora
Less used disk space for default install, less used resources, stopping of the MTA madness.
Scope
MTAs are not a necessary daemon on a desktop system, so we need not include one by default.
cronie
is the only package in a default Fedora install that requests the use of an MTA. If /usr/sbin/sendmail
is not present, it will simply stop sending mail. Therefore, if the existing cron jobs are modified so they don't need to send mail, we can remove the requirement for an MTA with no loss of functionality.
Packages that may require changes:
cronie
- RHBZ 472710crontabs
- Any other package that places files in
/etc/cron.*
(seerepoquery --source -qf '/etc/cron*'
):amavisd-new
apt
arm4
atop
autotrust
awstats
backup-manager
bcfg2
beagle
cacti
checkdns
clamav
clement
crypto-utils
cups
cyrus-imapd
dbmail
denyhosts
dmraid
drupal
dwatch
epylog
exim
glpi
glpi-mass-ocs-import
inn
leafnode
limph
logrotate
logwatch
ltsp
mailman
man
mdadm
mldonkey
mlocate
moodle
mrepo
mrtg
munin
newscache
nsd
nssbackup
ocsinventory-agent
olpc-update
olpc-utils
ovirt-server
PackageKit
php-eaccelerator
prelink
queuegraph
rancid
readahead
rkhunter
rpm
safekeep
sagator
sbackup
sipwitch
slrn
smolt
spamassassin
squidGuard
squirrelmail
sysstat
system-autodeath
sysusage
tiger
tmpwatch
tripwire
vnstat
webalizer
wifiroamd
yum-cron
Required changes:
- Change any cron job that emits output to send its output to syslog or a log file
- Remove
Requires: /usr/sbin/sendmail
fromcronie
's spec file
How To Test
Uninstall sendmail on your current machine and enjoy the "no warning messages, no crashing, just blissful MTA-free silence" - wwoods
User Experience
Transparent to majority of users, will add a 'yum install <insert-MTA-here>' step to advanced users who have an actual use case for a MTA on their machines.
Dependencies
none
Contingency Plan
Do Nothing.
Documentation
- None
Release Notes
- None
Comments and Discussion