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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim-users
Sujet: 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