A huge and complete tutorial about setting up a secure mail server on Linux (Ubuntu)
EDIT: a more up-to-date version (broken saslauthd in Ubuntu 16.04) can be found here: http://wiki.tolien.co.uk/Postfix_w/o_Maildrop#SASL_2