Is it possible to use a Postmaster Filter to match, and set, more than one 
value?  I am using a filter to match "Name:" in the body and grab any text to 
the right with a regexp.  I am then setting an OTRS-Header with the value of 
the regexp by using [***].

Example:

Match

Header1:  Body  Value:  Name: (.*)

Set

Header 1: X-OTRS-TicketValue1  Value:  [***]

This works great for the one item.  However, I need to match and set more than 
one item.  Is it possible to increment [***]? Or is there another method that 
would achieve the same outcome?

We have a web form submitting tickets to our OTRS 2.2.4 installation.  The form 
submits a series of fields from the form in the body of an email, ie:

Name:  Some Person
Address:  Some Address
Phone: 123.123.1234

What I would like to do is match each of these fields, pull the text from the 
right of each of these fields, then populate the freefields for the ticket such 
as Name: value to X-OTRS-TicketValue1, Address: value to X-OTRS-TicketValue2, 
Phone: value to X-OTRS-TicketValue3.

========================================================================
Jeff Hummel
========================================================================
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to