The only guide to setting up sending emails from a Dyndns host you’ll ever need

After tinkering around for hours in order to set up outgoing mail from my Dyndns server using Exim4 and a Gmail, I found this guide. Removing Exim4 took longer than setting this up:

http://devblog.virtage.com/2013/05/email-sending-from-ubuntu-server-via-google-apps-smtp-with-msmtp/