Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't figure out why MySQL 5.5 installs also Postfix. I'm not using Postfix at all and I would like uninstall it, or better just install MySQL 5.5 without Postfix.

Edit: I'm using Dotdeb packages on a Ubuntu 11.10

share|improve this question
On which distribution ? – Dom Mar 15 '12 at 11:12
Oh sorry, you right. I'm using Ubuntu 11.10 32bit with Dotdeb packages. – yvan Mar 15 '12 at 11:24

Is any MTA installed in your system?

Some software needs working MTA as dependency for messaging. Base system needs it too. Sure, we can remove MTA completely, but even cron want to send commands output by email to the corresponding user. Seems that mysql found lack of MTA in your system and enlist it as dependency for notification purposes.

share|improve this answer
Thanks for you answer. My problem it's with MySQL 5.1 from Ubuntu repository I could install it without any MTA. – yvan Mar 16 '12 at 7:25
Anyway, configured MTA will not abuse your host except some rare cases. Even if you don't plan to use your host as MX, you can use MTA as SMTP sender. So don't check it out during installation. – Kondybas Mar 29 '12 at 21:11
You right, but I'm using MSMTP instead of Postfix, but I figured out why its install Postfix. Seems to be that Postfix is a recommended package and apt-get install install recommended packages. So I just added --no-install-recommends. – yvan Mar 30 '12 at 6:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.