summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-12-18 15:19:17 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:21 +0200
commitebfc345a68ab4289250933aa3a780696eb59efca (patch)
treeb620812752757c7ae3a6038683b0abbe3d6d9942
parentbf3747dcf42909980c37caf7d70aeac6d2048d7a (diff)
Don't make Roundcube add a 'X-Sender' header with the sender's identity.
-rw-r--r--roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers/config.inc.php.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers/config.inc.php.j2 b/roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers/config.inc.php.j2
index d1789e7..e9d0d3d 100644
--- a/roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers/config.inc.php.j2
+++ b/roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers/config.inc.php.j2
@@ -1,14 +1,14 @@
<?php
// $rcmail_config['additional_message_headers']['X-Remote-Browser'] = $_SERVER['HTTP_USER_AGENT'];
$rcmail_config['additional_message_headers']['X-Originating-IP'] = null;
// $rcmail_config['additional_message_headers']['X-RoundCube-Server'] = $_SERVER['SERVER_ADDR'];
// if( isset( $_SERVER['MACHINE_NAME'] )) {
// $rcmail_config['additional_message_headers']['X-RoundCube-Server'] .= ' (' . $_SERVER['MACHINE_NAME'] . ')';
// }
// To remove (e.g. X-Sender) message header use null value
-$rcmail_config['additional_message_headers']['X-Sender'] = $_SESSION['username'];
+$rcmail_config['additional_message_headers']['X-Sender'] = null;
?>