diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-09-10 10:06:56 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-09-10 10:06:56 +0100 |
commit | 445c8a471eefdfc7341a7b53d692650582ade484 (patch) | |
tree | 980c2982d1459a66985257b47d01e90b08d0352a | |
parent | 57b65f17d5f4e971297e78dcc8cf1144bfa83598 (diff) |
Feature advertisements for radius and pwcheck
-rw-r--r-- | src/src/exim.c | 32 | ||||
-rw-r--r-- | src/src/macro_predef.c | 6 |
2 files changed, 25 insertions, 13 deletions
diff --git a/src/src/exim.c b/src/src/exim.c index a96d12167..8a78689ff 100644 --- a/src/src/exim.c +++ b/src/src/exim.c @@ -1026,47 +1026,53 @@ gstring * g = NULL; DEBUG(D_any) {} else g = show_db_version(g); g = string_cat(g, US"Support for:"); +#ifdef WITH_CONTENT_SCAN + g = string_cat(g, US" Content_Scanning"); +#endif #ifdef SUPPORT_CRYPTEQ g = string_cat(g, US" crypteq"); #endif +#ifdef EXPAND_DLFUNC + g = string_cat(g, US" Expand_dlfunc"); +#endif #if HAVE_ICONV g = string_cat(g, US" iconv()"); #endif #if HAVE_IPV6 g = string_cat(g, US" IPv6"); #endif -#ifdef HAVE_SETCLASSRESOURCES - g = string_cat(g, US" use_setclassresources"); -#endif #ifdef SUPPORT_PAM g = string_cat(g, US" PAM"); #endif #ifdef EXIM_PERL g = string_cat(g, US" Perl"); #endif -#ifdef EXPAND_DLFUNC - g = string_cat(g, US" Expand_dlfunc"); -#endif -#ifdef USE_TCP_WRAPPERS - g = string_cat(g, US" TCPwrappers"); -#endif #ifdef USE_GNUTLS g = string_cat(g, US" GnuTLS"); #endif +#ifdef SUPPORT_MOVE_FROZEN_MESSAGES + g = string_cat(g, US" move_frozen_messages"); +#endif #ifdef USE_OPENSSL g = string_cat(g, US" OpenSSL"); #endif +#if defined(CYRUS_PWCHECK_SOCKET) + g = string_cat(g, US" pwcheck"); +#endif +#if defined(RADIUS_CONFIG_FILE) + g = string_cat(g, US" radius"); +#endif #ifndef DISABLE_TLS_RESUME g = string_cat(g, US" TLS_resume"); #endif #ifdef SUPPORT_TRANSLATE_IP_ADDRESS g = string_cat(g, US" translate_ip_address"); #endif -#ifdef SUPPORT_MOVE_FROZEN_MESSAGES - g = string_cat(g, US" move_frozen_messages"); +#ifdef USE_TCP_WRAPPERS + g = string_cat(g, US" TCPwrappers"); #endif -#ifdef WITH_CONTENT_SCAN - g = string_cat(g, US" Content_Scanning"); +#ifdef HAVE_SETCLASSRESOURCES + g = string_cat(g, US" use_setclassresources"); #endif #ifdef SUPPORT_DANE g = string_cat(g, US" DANE"); diff --git a/src/src/macro_predef.c b/src/src/macro_predef.c index 8fade68ca..1cf1a4742 100644 --- a/src/src/macro_predef.c +++ b/src/src/macro_predef.c @@ -119,6 +119,12 @@ due to conflicts with other common macros. */ #ifdef SUPPORT_PAM builtin_macro_create(US"_HAVE_PAM"); #endif +#ifdef RADIUS_CONFIG_FILE + builtin_macro_create(US"_HAVE_RADIUS"); +#endif +#ifdef CYRUS_PWCHECK_SOCKET + builtin_macro_create(US"_HAVE_PWCHECK"); +#endif #ifdef EXIM_PERL builtin_macro_create(US"_HAVE_PERL"); #endif |