summaryrefslogtreecommitdiffstats
path: root/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/webmail/templates/etc/roundcube/plugins/additional_message_headers')
-rw-r--r--roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j214
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j2 b/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j2
new file mode 100644
index 0000000..63eeb8c
--- /dev/null
+++ b/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers/config.inc.php.j2
@@ -0,0 +1,14 @@
+<?php
+
+// $config['additional_message_headers']['X-Remote-Browser'] = $_SERVER['HTTP_USER_AGENT'];
+$config['additional_message_headers']['X-Originating-IP'] = null;
+// $config['additional_message_headers']['X-RoundCube-Server'] = $_SERVER['SERVER_ADDR'];
+
+// if( isset( $_SERVER['MACHINE_NAME'] )) {
+// $config['additional_message_headers']['X-RoundCube-Server'] .= ' (' . $_SERVER['MACHINE_NAME'] . ')';
+// }
+
+// To remove (e.g. X-Sender) message header use null value
+// $config['additional_message_headers']['X-Sender'] = null;
+
+?>