Created
June 15, 2016 17:28
-
-
Save baudehlo/80f171744e9d699ebe51b4d224e03e2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mailgun_smtp = { | |
auth_user: 'xxx', | |
auth_pass: 'yyy', | |
priority: 0, | |
exchange: 'smtp.mailgun.org', | |
}; | |
exports.hook_get_mx = function (next, hmail, domain) { | |
// All relaying goes via mailgun | |
return next(OK, mailgun_smtp); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment