I have a CentOS7 hosting plan, self-managed, and I want to install email on that. I've been always using shared managed hosting with cPanel, and I did not really look into how this works. I would need to set up email now, and I would like to do it in the best and most standard way as far as CentOS7 and the best practices as of 2016, lets say.
As far as I remember (from books) there are two main programs for doing this, and also two ways of doing this. One stores email on the server, and another downloads everything to the client and nothing is stored on the hosting plan.
I guess storing everything on the server could be good. I will also want to move everything to a different hosting plan, something like rsync (I will be switching over to a different hosting plan in about a month from now).
In general I am running a site like domain-name.com. I would like to be able to have something like firstname.lastname@example.org
and use email from the command line, and be able to connect it to some Windows client too. In general, like I said, the most standard / popular / current, the best way to do it is what I would need.
As far as I remember there is sendmail and postifx, and postifx is installed by default on CentOS7. I guess the choice would come down to these two, but I am not sure, and also not sure about the other aspects that I've mentioned above.