-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DomainKeys Identified Mail #13
Comments
So it looks like setting up DKIM shouldn't be that hard...? It appears to be a two part problem, setting up the public key in the DNS entry, and signing the email with your private key. I'm not sure exactly how to implement the signing part, but I have to assume there are other examples floating around for other languages and it will require node's crypto module. Like most aspects of node_mailer, I think it's going to be hard to test this functionality without a proper stubbed SMTP server / DNS server / etc. I'd start out by trying to find a similar library that signs emails ( maybe in ruby or php ) and from there we can figure out how they are doing it. Also, as a note we have been using sendgrid for sending emails and as long as we provide our auth information, they take care of everything else. |
Hi, It may be not necessary, i was able to get dkim signing with opendkim on postfix without any problems. |
You can use a service like critsend to sign the emails for you or set up a local relay as a postfix or exim server that signs and delivers the messages for you. You'll need a more serious MTA/relay somewhere in the loop anyway since this library doesn't do direct deliveries. Might as well delegate this DKIM stuff to that mail relay instead. |
Is it possible to do DomainKeys Indentified Mail with node-mailer? It is described here:
http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code.html (number 2).
If it isn't possible, what can I do to help make it happen? Or this something that should happen through my smtp server?
The text was updated successfully, but these errors were encountered: