Supply IP address in outgoing mails

This plugin is for the outdated version (v7) of the product.
With the current version (v8), use of such plugin is not required, the behavior is adjusted via XOriginatingIP configuration option, see Advanced configuration documentation page.

With this plugin installed and enabled, all email messages sent from WebMail will have X-Originating-IP header with sender's IP address there. Naturally, it's about actual IP of user, not the WebMail installation IP.

Upon downloading and extracting plugin package, rename its main directory from:




Then you'll need to deploy the plugin so that its index file is available at the following location:


To enable the plugin, add the following to array defined in data/settings/config.php file:

'plugins.x-originating-ip' => true,