X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d7d7b7b91dd75cec636fc144da7e27eed860f971..f7572e5a358cd3d9581140b87e590d58b6c278f0:/src/src/drtables.c diff --git a/src/src/drtables.c b/src/src/drtables.c index 5f3b33081..b95d4fc95 100644 --- a/src/src/drtables.c +++ b/src/src/drtables.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/drtables.c,v 1.6 2006/02/07 11:19:00 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 */ { @@ -551,6 +573,10 @@ set to NULL for those that are not compiled into the binary. */ #include "auths/cyrus_sasl.h" #endif +#ifdef AUTH_DOVECOT +#include "auths/dovecot.h" +#endif + #ifdef AUTH_PLAINTEXT #include "auths/plaintext.h" #endif @@ -589,6 +615,19 @@ auth_info auths_available[] = { }, #endif +#ifdef AUTH_DOVECOT + { + US"dovecot", /* lookup name */ + auth_dovecot_options, + &auth_dovecot_options_count, + &auth_dovecot_option_defaults, + sizeof(auth_dovecot_options_block), + auth_dovecot_init, /* init function */ + auth_dovecot_server, /* server function */ + NULL /* client function */ + }, +#endif + #ifdef AUTH_PLAINTEXT { US"plaintext", /* lookup name */