diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-29 01:25:32 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-29 01:25:32 +0200 |
commit | bb67c144aa93a733402876b3161281724fca24da (patch) | |
tree | c08171d5dadf427591a0b60408b4ab5251ede51a /roles/webmail/files/etc/roundcube/plugins/additional_message_headers | |
parent | b095e109bec3c896ccf102ec143034af492ddc88 (diff) |
Make roundcube plugin configuration static files.
Diffstat (limited to 'roles/webmail/files/etc/roundcube/plugins/additional_message_headers')
-rw-r--r-- | roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php b/roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php new file mode 100644 index 0000000..63eeb8c --- /dev/null +++ b/roles/webmail/files/etc/roundcube/plugins/additional_message_headers/config.inc.php @@ -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; + +?> |