Re: [exim] DKIM support

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Wolfgang Breyha
Date:  
À: Tom Kistner
CC: exim-users
Sujet: Re: [exim] DKIM support
Tom Kistner wrote, on 28.09.2007 15:26:
> I have added preliminary DKIM support to Exim in CVS. If anyone feels
> adventurous, please try these 2 tarballs:
>
> http://duncanthrax.net/exim-experimental/exim-4.69-cvssnap-2007-09-28.tar.gz
> http://duncanthrax.net/exim-experimental/libdkim-1.0.15-tk.tar.gz


It seems that at least
--- exim-4.69-cvssnap-2007-09-28.orig/src/expand.c      2007-09-19
09:29:17.000000000 +0200
+++ exim-4.69-cvssnap-2007-09-28/src/expand.c   2007-10-04 14:07:04.000000000
+0200
@@ -409,6 +413,10 @@
   { "dk_status",           vtype_dk_verify,   NULL },
   { "dk_testing",          vtype_dk_verify,   NULL },
 #endif
+#ifdef EXPERIMENTAL_DKIM
+  { "dkim_domain",         vtype_stringptr,   &dkim_signing_domain },
+  { "dkim_selector",       vtype_stringptr,   &dkim_signing_selector },
+#endif
   { "dnslist_domain",      vtype_stringptr,   &dnslist_domain },
   { "dnslist_matched",     vtype_stringptr,   &dnslist_matched },
   { "dnslist_text",        vtype_stringptr,   &dnslist_text },


is missing in expand.c to use $dkim_domain and $dkim_selector.

With that in place I'm able to use
  dkim_domain       = $sender_address_domain
  dkim_selector     = dktest
  dkim_private_key  = /etc/mail/domainkeys/${dkim_selector}.${dkim_domain}.pem
in my smtp-router to sign mail. At least SpamAssassin is happy with the
signatures;-)


Regards, Wolfgang Breyha
--
Wolfgang Breyha <wbreyha@???> | http://www.blafasel.at/
Vienna University Computer Center | Austria