summaryrefslogtreecommitdiffstats
path: root/roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-30 04:36:25 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:11 +0200
commita14847492b3d9b88942f7e3c5881c54a35440137 (patch)
tree5920ac3af40511ebe38d7d82255cedc88da304d3 /roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers
parent5280b369a38608c084cff936dd07c6c4c38d2c2b (diff)
Expose the real user ID when using the webmail.
Sadly not doing so and keeping a table message ID -> username, like we do for SASL authenticated users, doesn't seem trivial here. We could encrypt the header, though.
Diffstat (limited to 'roles/webmail/templates/usr/share/roundcube/plugins/additional_message_headers')
-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 e9d0d3d..d1789e7 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
@@ -9,6 +9,6 @@ $rcmail_config['additional_message_headers']['X-Originating-IP'] = null;
// }
// To remove (e.g. X-Sender) message header use null value
-$rcmail_config['additional_message_headers']['X-Sender'] = null;
+$rcmail_config['additional_message_headers']['X-Sender'] = $_SESSION['username'];
?>