Why Postfix is required ?
Closed this issue · 4 comments
Hi,
Thanks for your work, It's very appreciate !
But, I've a question and I don't know where to ask, so if you think that is not the right place, feel free to close it.
I wondering to know why the MySQL 5.5 installation requires Postfix and is it anyway where I can avoid it, of maybe I'm doing something wrong ?
Thanks advance,
-- Yvan
MySQL 5.5 does not require Postfix.
The fact is that mysql-server-5.5 only recommends mailx (https://github.com/gplessis/dotdeb-mysql-5.5/blob/master/debian/control) that requires a MTA (such as Postfix, null mailer and so on...).
But that's only a recommendation. You can avoid it by using a decent package manager (dselect, aptitude, synaptic...) and fine-tune your package selection. You can also tell apt to not install neither recommendations nor suggestions by filling a /etc/apt/apt.conf.d/10recommends file :
APT::Install-Recommends "false"; APT::Install-Suggests "false";
Oh greats, I've a quicker answer here than with servfault.com.
May I abuse from your knowledge and ask you if it's possible to don't download the recommended packages only for MySQL ?
From man apt-get : --no-install-recommends should do the trick
"man" often answers quicker than Serverfault or than a bug report :)
Awesome ! Thanks.
You right, I should use more man often :)
Thanks for your time and don't give up your work, it's so hard to find great repos updated !