[exim-cvs] ingress control

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] ingress control
Gitweb: http://git.exim.org/exim.git/commitdiff/3d1451ea26e96e63a22d96a08dcfe2e80701c75c
Commit:     3d1451ea26e96e63a22d96a08dcfe2e80701c75c
Parent:     eb02f5dfc17b6e73fffe6ff19bc1be5cdd765f41
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Mar 25 20:59:17 2015 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Fri Apr 3 15:24:26 2015 +0100


    ingress control
---
 src/src/globals.c  |    3 +++
 src/src/globals.h  |    3 +++
 src/src/readconf.c |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/src/src/globals.c b/src/src/globals.c
index ffaa53c..cb93a01 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -1273,6 +1273,9 @@ int     smtp_rlr_limit         = 0;
 int     smtp_rlr_threshold     = INT_MAX;
 BOOL    smtp_use_pipelining    = FALSE;
 BOOL    smtp_use_size          = FALSE;
+#ifdef EXPERIMENTAL_INTERNATIONAL
+uschar *smtputf8_advertise_hosts = US"*";
+#endif


 #ifdef WITH_CONTENT_SCAN
 uschar *spamd_address          = US"127.0.0.1 783";
diff --git a/src/src/globals.h b/src/src/globals.h
index 38b2a9d..d5b3420 100644
--- a/src/src/globals.h
+++ b/src/src/globals.h
@@ -825,6 +825,9 @@ extern int     smtp_rlr_limit;         /* Max delay */
 extern int     smtp_rlr_threshold;     /* Threshold for RCPT rate limit */
 extern BOOL    smtp_use_pipelining;    /* Global for passed connections */
 extern BOOL    smtp_use_size;          /* Global for passed connections */
+#ifdef EXPERIMENTAL_INTERNATIONAL
+extern uschar *smtputf8_advertise_hosts; /* ingress control */
+#endif


 #ifdef WITH_CONTENT_SCAN
 extern uschar *spamd_address;          /* address for the spamassassin daemon */
diff --git a/src/src/readconf.c b/src/src/readconf.c
index e2d3c51..67241cb 100644
--- a/src/src/readconf.c
+++ b/src/src/readconf.c
@@ -398,6 +398,9 @@ static optionlist optionlist_config[] = {
   { "smtp_receive_timeout",     opt_func,        &fn_smtp_receive_timeout },
   { "smtp_reserve_hosts",       opt_stringptr,   &smtp_reserve_hosts },
   { "smtp_return_error_details",opt_bool,        &smtp_return_error_details },
+#ifdef EXPERIMENTAL_INTERNATIONAL
+  { "smtputf8_advertise_hosts", opt_stringptr,   &smtputf8_advertise_hosts },
+#endif
 #ifdef WITH_CONTENT_SCAN
   { "spamd_address",            opt_stringptr,   &spamd_address },
 #endif