SMTP Mailing with Mailgun and Postfix

SMTP Mailing with Mailgun and Postfix

Do you want your servers to send mails with a dedicated mailing service in order to gain more control and logs about the mail delivery?

Powerful APIs that enable you to send, receive and track email effortlessly. 10,000 emails free every month.

If you already have postfix properly set up and running, edit /etc/postfix/ and append this:

Then add your smtp credential of mailgun to postfix:

Protect the file and populate it:

And finally restart postfix:

Now your server should send its mails via mailgun. Just give it a test shot!