From: Jeremy Harris Date: Wed, 25 Mar 2015 20:45:58 +0000 (+0000) Subject: Observability variable X-Git-Tag: exim-4_86_RC1~88^2~21 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eb02f5dfc17b6e73fffe6ff19bc1be5cdd765f41;p=exim.git Observability variable --- diff --git a/src/src/expand.c b/src/src/expand.c index 8a7a27e8a..b613ef2b4 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -549,6 +549,9 @@ static var_entry var_table[] = { { "message_id", vtype_stringptr, &message_id }, { "message_linecount", vtype_int, &message_linecount }, { "message_size", vtype_int, &message_size }, +#ifdef EXPERIMENTAL_INTERNATIONAL + { "message_smtputf8", vtype_bool, &message_smtputf8 }, +#endif #ifdef WITH_CONTENT_SCAN { "mime_anomaly_level", vtype_int, &mime_anomaly_level }, { "mime_anomaly_text", vtype_stringptr, &mime_anomaly_text }, diff --git a/src/src/globals.c b/src/src/globals.c index b68ed7e5f..ffaa53cd1 100644 --- a/src/src/globals.c +++ b/src/src/globals.c @@ -906,6 +906,9 @@ int message_linecount = 0; BOOL message_logs = TRUE; int message_size = 0; uschar *message_size_limit = US"50M"; +#ifdef EXPERIMENTAL_INTERNATIONAL +BOOL message_smtputf8 = FALSE; +#endif uschar message_subdir[2] = { 0, 0 }; uschar *message_reference = NULL; diff --git a/src/src/globals.h b/src/src/globals.h index 5c0022041..38b2a9dd6 100644 --- a/src/src/globals.h +++ b/src/src/globals.h @@ -570,6 +570,9 @@ extern int message_linecount; /* As it says */ extern BOOL message_logs; /* TRUE to write message logs */ extern int message_size; /* Size of message */ extern uschar *message_size_limit; /* As it says */ +#ifdef EXPERIMENTAL_INTERNATIONAL +extern BOOL message_smtputf8; /* Internationalized mail handling */ +#endif extern uschar message_subdir[]; /* Subdirectory for messages */ extern uschar *message_reference; /* Reference for error messages */