Skip to content
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

Open
bentomas opened this issue Jan 11, 2011 · 3 comments
Open

DomainKeys Identified Mail #13

bentomas opened this issue Jan 11, 2011 · 3 comments

Comments

@bentomas
Copy link
Contributor

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?

@Marak
Copy link
Owner

Marak commented Jan 12, 2011

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.

@pvsundarram
Copy link

Hi,
Nice library! Thanks a lot for that.

It may be not necessary, i was able to get dkim signing with opendkim on postfix without any problems.
There is a configuration in opendkim to sign all outgoing mails generated from trusted network.

@dobesv
Copy link

dobesv commented Nov 14, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants