diff --git a/htroot/SettingsAck_p.html b/htroot/SettingsAck_p.html
index 86ab6dae9..2a747f607 100644
--- a/htroot/SettingsAck_p.html
+++ b/htroot/SettingsAck_p.html
@@ -80,7 +80,7 @@ Parsing of the following mime-types was enabled:
@@ -88,18 +88,34 @@ Seed Upload method was changed successfully.
Your proxy networking settings have been changed.
Transparent Proxy Support is: | +Transparent Proxy Support is: | #[isTransparentProxy]# |
Connection Keep-Alive Support is: | -#[connectionKeepAliveSupport]# | -
Your message forwarding settings have been changed.
+Message Forwarding Support is: | +#[msgForwardingEnabled]# | +
Message Forwarding Command: | +#[msgForwardingCmd]# | +
Recipient Address: | +#[msgForwardingTo]# | +
You can now go back to the Settings page if you want to make more changes.
diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java index 79dfbc590..62aa87a5b 100644 --- a/htroot/SettingsAck_p.java +++ b/htroot/SettingsAck_p.java @@ -412,6 +412,25 @@ public class SettingsAck_p { } } + /* + * Message forwarding configuration + */ + if (post.containsKey("msgForwarding")) { + env.setConfig("msgForwardingEnabled",post.containsKey("msgForwardingEnabled")?"true":"false"); + env.setConfig("msgForwardingCmd",(String) post.get("msgForwardingCmd")); + env.setConfig("msgForwardingTo",(String) post.get("msgForwardingTo")); + + prop.put("info", 21); + prop.put("info_msgForwardingEnabled", post.containsKey("msgForwardingEnabled") ? "on" : "off"); + prop.put("info_msgForwardingCmd", (String) post.get("msgForwardingCmd")); + prop.put("info_msgForwardingTo", (String) post.get("msgForwardingTo")); + + return prop; + } + + /* + * Parser configuration + */ if (post.containsKey("parserSettings")) { plasmaSwitchboard sb = (plasmaSwitchboard)env; post.remove("parserSettings"); diff --git a/htroot/Settings_p.html b/htroot/Settings_p.html index 3bb16d548..0ec8b6091 100644 --- a/htroot/Settings_p.html +++ b/htroot/Settings_p.html @@ -30,11 +30,11 @@ delete the file 'DATA/SETTINGS/httpProxy.conf' in the YaCy application root fold