Configuring Postfix for Sparkpost

NOTE: Before doing anything, make sure you have set the full qualified domain name of your server (AWS will not do this for you)

Install the tools you will need

myhostname=<host>.<domain>
mydomain=<domain>
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:SMTP_Injection:<hash string>
relayhost = [smtp.sparkpostmail.com]:587
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt
header_size_limit = 4096000

Go to the Sparkpost Console

From your host