Okay, so I’ve been thinking about writing my own mail server. Of course it would be the perfect mail server. As things stand now, qmail is the closest thing I know of to the perfect mail server, but I still think it need improvement.
First off, I would like to see cross platform capabilities. To do this right, I say you need to do the server in JAVA. And, of course I think this needs to be open source.
Next it needs to have some open APIs for adding anti-virus and anti-spam solutions. Preferably once the message comes in and is validated it would be sent to a processing engine where it could be processed against a set of rules or programs that are not necessarily internal to the email server.
I would like to see all the configuration files in XML and/or available to an SQL server, anything that has ODBC drivers for that platform. The XML files would be for use in a stand alone environment, while the SQL configuration would allow for web access on the front end.
Also, all of the configuration would need to be on a domain by domain basis. Allowing for certain settings to be set for some domains and not others, instead of all being server wide. This would let certain domains start using protocols like SPF before others and to let some of them have more aggressive settings then others. With all of these settings on a SQL server, these settings could easily be exposed to a web based front end that would administrators for the domain control the details of how their domain email works.
All email message would need to be individual files. I think I would end up adopting the Maildir format from qmail. It’s strong and solid and the best improvement to the concepts of the old MHS mail from novell.
Of course POP3 and IMAP access would be needed.
And setting be default will need to be set to a high security environment. Meaning to chances for an open relay out of the box.
More to come, just jotting down some thoughts….