Re: [exim] Exim, DKIM and DomainKeys - possible?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Mike Cardwell
日付:  
To: exim-users
題目: Re: [exim] Exim, DKIM and DomainKeys - possible?
Tomasz Chmielewski wrote:

> Is it possible to set up Exim to sign outgoing emails with both DKIM and DomainKeys?


I think there's a patch for it, but it's not in the latest stable
release yet. In the mean time, I've achieved this by configuring exim to
sign the message with domainkeys, then reconnect back to it's self to
route the message a second time, whist signing with dkim. Not ideal, but
it works.

dnslookup uses remote_smtp which does the dkim signing. Before the
dnslookup router I have:

dnslookup_dk_sign:
  driver              = manualroute
  domains             = ! +local_domains
  condition           = ${if eq{$h_Grepular-DK-Signed:}{}}
  headers_add         = Grepular-DK-Signed: $tod_epoch
  transport           = remote_dk_smtp
  route_list          = * "127.0.0.1::25"
  self                = send
  no_more



And the transport:

remote_dk_smtp:
  driver             = smtp
  dk_selector        = dk1
  dk_private_key     = /etc/exim4/dk/grepular.com
  dk_canon           = nofws
  dk_strict          = false


Mike