From a14847492b3d9b88942f7e3c5881c54a35440137 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 30 Jun 2014 04:36:25 +0200 Subject: 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. --- .../roundcube/plugins/additional_message_headers/config.inc.php.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/webmail') 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']; ?> -- cgit v1.2.3