Top

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. mailgun.com

If you already have postfix properly set up and running, edit /etc/postfix/main.cf 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!