Server Postmarkapp.com SMTP interface

I just put together something so simple, yet so damn useful… A server-level Postmarkapp.com interface for delivering outbound email that isn’t within WordPress.

I’m still giggling over how simple it was…first install package ssmtp:

apt-get install ssmtp mailutils

Edit /etc/ssmtp/revaliases and make it read:

root:host@domain.com:smtp.postmarkapp.com:25

Edit /etc/ssmtp/ssmtp.conf and make it read (the italicized words get replaced with your specifics):

Root=root
Mailhub=smtp.postmarkapp.com:25
rewriteDomain=domain.com
Hostname=host.domain.com
FromLineOverride=NO
AuthUser=postmark-stream-user
AuthPass=postmark-stream-pass
UseSTARTTLS=YES

You get the user/pass from your Postmark account, click Servers in the navbar, then click on your server name, then click on your transactional stream, then click Settings, and you’ll see the values for all the SMTP stuff when you page down.

Leave a Comment