This is my setup for a working mail server on debian 7 with documentation.