I have quite a few Ubuntu servers deployed (10.04, 12.04). On these servers, I install manually qmail and some other mail packages. They work great and everything is fine. I manually change the /usr/sbin/sendmail into a symlink and point it to /var/qmail/bin/sendmail.
However, sometimes when I do an update of the system, Ubuntu over-writes this to its own wrapper, or replaces it with a sendmail binary, or sometimes points it to exim4...
How can I run a command that tells the system to never touch it... I've thought about making the file immutable, but I assume there is a more elegant way by installing some type of mail stub?
Bookmarks