Forum: Ruby on Rails Help: How do I sign my mails with DKIM in Rails?

Posted by JT (Guest)
on 2010-12-02 22:53
(Received via mailing list)
I googled around for this and can't find anything substantial. Has
anyone hack their way around ActionMailer?

FYI, I'm sending mails via gmail smtp.
Posted by Marnen Laibow-Koser (marnen)
on 2010-12-02 23:19
JT wrote in post #965815:
> I googled around for this and can't find anything substantial. Has
> anyone hack their way around ActionMailer?
>
> FYI, I'm sending mails via gmail smtp.

http://lmgtfy.com/?q=dkim+rails

The first hit seems to be useful, unless I misunderstand.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
Posted by JT (Guest)
on 2010-12-02 23:30
(Received via mailing list)
I saw that one too. It's a tutorial for using dkim with postfix, not
rails.

I can of course configure rails to use postfix, but that's not what
I'm using now, which is having rails directly replay mail through
gmail  smtp.
Posted by Matt Jones (Guest)
on 2010-12-03 20:48
(Received via mailing list)
On Dec 2, 4:51pm, JT <jingtian...@gmail.com> wrote:
> I googled around for this and can't find anything substantial. Has
> anyone hack their way around ActionMailer?
>
> FYI, I'm sending mails via gmail smtp.

Gmail will probably pass the DKIM-Signature header, so you might be
able to just generate that yourself.

I couldn't find an open Ruby implementation, but it should be fairly
straightforward to create one based on the source for dkimproxy:

http://dkimproxy.svn.sourceforge.net/viewvc/dkimproxy/

--Matt Jones
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.