[rt-users] sharing RT3 patches: add X-Remote-ip mail header for web created tickets

Dirk Pape pape-rt at inf.fu-berlin.de
Tue Aug 26 09:45:40 EDT 2003


Hello rt-users,

We have developped some local code here to tune RT3 for our workflow. I 
will share it one-by-one, when I feel it is enough documented.

As always you are strongly encouraged to read the code and make backups 
before applying a patch and you do at your own risk.

attached is a patch to add an X-Remote-IP mail header on web originated 
tickets, basing on the content of the CGI variable REMOTE_ADDR. We use this 
together with the ExtractCustomFieldValue ScripAction to add a custom field 
"host" on ticket creation with the name of the host from which the ticket 
is originated (will not work with proxies).

You will find ExtractCustomFieldValue in the contribution area.

Basic Documentation is inside the patch file.

Dirk. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: web_xremoteip.patch
Type: application/octet-stream
Size: 745 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030826/a98533e0/attachment.obj>


More information about the rt-users mailing list