diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-03-25 20:45:58 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-04-03 15:24:26 +0100 |
commit | eb02f5dfc17b6e73fffe6ff19bc1be5cdd765f41 (patch) | |
tree | 4d9676873167ce06664b6023286431ab55d99ba0 /src | |
parent | c65be1246d0cb9dc90bdeb99bb9162153a5e6fd7 (diff) |
Observability variable
Diffstat (limited to 'src')
-rw-r--r-- | src/src/expand.c | 3 | ||||
-rw-r--r-- | src/src/globals.c | 3 | ||||
-rw-r--r-- | src/src/globals.h | 3 |
3 files changed, 9 insertions, 0 deletions
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 */ |