Roundcube Community Forum

 

additional_message_headers

Started by jasb, October 04, 2009, 02:04:42 PM

Previous topic - Next topic

jasb

Hi,
I need an help putting this plugin to work!

I've enabled it on main.inc.php:
--
$rcmail_config['plugins'] = array('managesieve','password','additional_message_headers');
--

and added on main.inc.php:

--
$rcmail_config['additional_message_headers']['X-Remote-Browser'] = $_SERVER['HTTP_USER_AGENT'];
$rcmail_config['additional_message_headers']['X-Originating-IP'] = $_SERVER['REMOTE_ADDR'];
$rcmail_config['additional_message_headers']['X-RoundCube-Server'] = $_SERVER['SERVER_ADDR'];
--

but when i send a message using RC, it doesn't add the headers.
What can be missing here?

Jorge,

jasb

Hi People,

Anyone can give a hand on this?

Jorge,

dshepherd

It looks like you have a space in the plugin name in your plugins array.

Instead of this:

$rcmail_config['plugins'] = array('managesieve','password','additional_message _headers');

You should have this:

$rcmail_config['plugins'] = array('managesieve','password','additional_message_headers');