Replace the mail function on a global basis in multisite

Hello hello !

Well, after a very big spam issue, i was wondering if there is a way to replace the mail function by a "smtp" mail acces on a global basis and force ALL site to use it.

I found a plugin, but on a per site basis, of course there is the mandrill way of life :p

What do you do or suggest on this point ?