Plugin:Header Filters
From Cerberus Helpdesk Wiki
Header Filters
This was created out of a request to be able to copy the *contents* of an email header into a custom field (rather than just doing something static based on the contents of the header). To create this plugin, go to your cerb4/plugins directory, and make a couple directories and three files, like so:
plugins/wgm.header_filters plugins/wgm.header_filters/plugin.xml plugins/wgm.header_filters/plugin.php plugins/wgm.header_filters/templates plugins/wgm.header_filters/templates/header_filter_action.tpl
The contents of the files are:
plugin.xml
plugin.php
header_filter_action.tpl
After creating these files, go to your Helpdesk Setup -> Features & Plugins tab, enable the new plugin, and then you're all set to use it (Helpdesk Setup -> Mail Filters, create a filter to match the messages you want, and then add the custom field copying actions. For more than 5, create a second rule.)