Building an email server is not difficult and if the mail server is for a number of co-operating users. You do not need to do much to keep it going. However most of us needs to send mail to the whole wide world and this is where the "internet hell" starts. There will always be people that will turn a good thing into a bad instrument. Spam and viruses is with us and we need to battle against it.
As far as mail servers MTA's is concerned, we use Postfix. Postfix is easy configurable from the most simple one domain systems to many virtual domains. It also allows many types of anti-virus and anti-spam measures to be implemented.
Some of the measures implemented is:
Let us introduce the mail archiver. We can set up a machine in conjunction with your mail server to save each and every message (except spam, viruses and other mail with rules that can be setup) in the mail archive. So messages can be deleted from your normal mail program without fear of loosing it permanently. The archives can be searched easily with different criteria to find that old mail.
To complete the mail server line-up is a webmail client. We use SquirrelMail and Roundcube mail.