summaryrefslogtreecommitdiffstats
path: root/roles/webmail/templates/etc/roundcube/plugins/additional_message_headers
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-24 20:06:36 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-24 20:28:55 +0200
commit9c0c8ca11846893e75ac7cc6e633d67d94eb88b2 (patch)
treeb5d4af7690dbe4bede6439dc409226ce78677ab0 /roles/webmail/templates/etc/roundcube/plugins/additional_message_headers
parent9d9fe107d0de34602775cbee2ca5208d604e0c5b (diff)
Upgrade Roundcube to 1.1.2.
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;
+
+?>