If you want to be rid of Postfix, you’ll need to suggest an alternative way to send notifications from Webmin, password resets, cron reports, etc. A server has a bunch of things that want to send email, even if you won’t be receiving mail.
Postfix is tiny. 15MB resident on my systems for smtpd by itself, plus maybe another ~15MB for the other services involved in queueing and sending email. That’s almost certainly smaller than a PHP, Perl, Python, Ruby library spinning up to send email, and half the email libraries I’ve seen do something (often many things) wrong, and you’d be spinning it up for every web application and Webmin would have to have one, too. There may be smaller smtp clients written in a low-level language, as Postfix is, but then we’d have to teach everyone how to use it and write code to support it. And, we have to figure out if they support DKIM signing somehow, maybe via milter support maybe something else, I don’t know, it’s just not a thing I’ve ever thought we needed to look into, because I’ve never seen Postfix as a problem to solve. I also don’t view ProFTPd as much of a problem, it’s also pretty small and efficient compared to all the high level language stuff running on most web servers. Unlike, say, ClamAV, which is huge and very resource-intensive. That obviously needed to be a thing a user could avoid, once it grew to hundreds of MB (it’s 1GB+ now).
Anyway, it’s possible to setup everything to use APIs to send email, but again, the high-level language libraries to talk to those APIs are probably going to take more memory than Postfix in a basic configuration.
I guess what I’m asking is: What problem does removing Postfix solve? And, how do you think we (Webmin and all the other things on a server that may need to send email) should send email without it?
If the answer is “I’m not going to send any email, I don’t need Webmin notifications, password resets, cron errors, etc.”, that’s fine, but I don’t want to impose that limitation on Virtualmin users, in general, even for those on small systems, as it’s quite a big limitation to recover a tiny amount of memory.