Using SparkPost with PowerMTA

April 29, 2017 Contributors

If you’re interested in relaying mail through PowerMTA to SparkPost, there are only a few things you need to do. First, create a SparkPost account if you don’t already have one.

Next, create an API key with the “Send via SMTP” permission:

Now create and verify the domain you want to use for sending. The setup process should take about 5-10 minutes if you have access to your DNS server. See Verify Sending Domains for more information.

Add the following to your PowerMTA config, changing the value for auth-password to the SparkPost API key you created above:

Two great benefits of using PowerMTA to relay to SparkPost are you don’t need to change your existing architecture, and PowerMTA handles all the queueing and any network issues that might arise during delivery.You also get the excellent built in metrics that are part of SparkPost.