X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/14aa5a05b6399f98744f9542765288313d0bfb9d..f7572e5a358cd3d9581140b87e590d58b6c278f0:/src/src/drtables.c diff --git a/src/src/drtables.c b/src/src/drtables.c index e27fc56a1..b95d4fc95 100644 --- a/src/src/drtables.c +++ b/src/src/drtables.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/drtables.c,v 1.7 2006/10/02 13:38:18 ph10 Exp $ */ +/* $Cambridge: exim/src/src/drtables.c,v 1.9 2007/09/28 12:21:57 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2006 */ +/* Copyright (c) University of Cambridge 1995 - 2007 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -105,6 +105,11 @@ be NULL for methods that don't need them. */ #include "lookups/whoson.h" #endif +#ifdef EXPERIMENTAL_DKIM +#include "lookups/dkim.h" +#endif + + /* The second field in each item below is a set of bit flags: lookup_querystyle => this is a query-style lookup, @@ -171,6 +176,23 @@ of the key strings. */ #endif }, +/* DKIM lookups */ + + { + US"dkim", /* lookup name */ + lookup_querystyle, /* query style */ +#ifdef EXPERIMENTAL_DKIM + dkim_open, /* open function */ + NULL, /* check function */ + dkim_find, /* find function */ + NULL, /* no close function */ + NULL, /* no tidy function */ + NULL /* no quoting function */ +#else + NULL, NULL, NULL, NULL, NULL, NULL /* lookup not present */ +#endif + }, + /* Using DNS TXT records as a database */ {