Using SparkPost with PowerMTA
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:
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.