Hi,
Just to add some information, here we use regex to feed information from the subject to FreeTextField (but this could be possible to assign also header field)
Example:
Filter 1:
Subject matches ([A-Z]*)_.*
Set X-OTRS-TicketValue1 to [***]
Filter 2:
Subject matches [A-Z]*_([A-Z]*)_.*
Set X-OTRS-TicketValue2 to [***]
This handle subject like
DT_PROJ_this is the email subject
And the free text value 1 is DT
And the free text value 2 is PROJ
Hope this helps!
--------------------------------------------
Bastien Leblanc
-----Message d'origine-----
De : itsm-bounces@otrs.org [mailto:itsm-bounces@otrs.org] De la part de Anton Gubar'kov
Envoyé : jeudi 15 janvier 2009 17:27
À : OTRS::ITSM User questions and discussions
Objet : Re: [itsm] Setting dinamics values with PostMasterFilter
Hello, David.
It's possible. However you need to program a little.
See how Kernel/System/PostMaster/Filter/Match.pm works and you can create a new filter type for you need.
Regards,
Anton.
2009/1/13 David SALGADO VIDAL
Hi.
I am looking for some information about the Postmaster Filter, that I
can use to set the value for a header obtaining it from the content of
the source message, like a variable.
An example:
My OTRS receives e-mails having in the subject a number and I want the
Postmaster Filter set the subject content as the value of
X-OTRS-CustomerNo.
Could I do it, or only can set static values?
Sorry for may bad English. I hope you can understand me.
Saludos.
David Salgado Vidal
david.salgado@mundivia.net
Telf. 942 355 931
http://www.mundivia.net
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
no se hace responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------
_______________________________________________
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
Support or consulting for your OTRS::ITSM system?
=> http://www.otrs.com/