Hi Jan,

now I understand your use case a little bit more. :)

You need a mail header rewrite from "Articlefreekey1" to "X-OTRS-ArticleKey", right? There is no out of the box mail header rewrite feature in OTRS it self. I see two possible solutions:

a) Create an own postmaster module for the header rewriting (perl coding skills required)

b) Use procmail/formail for modifying incoming emails (it's unix stuff, some unix knowledge needed)

Greetings,

 -Martin

http://edenhofer.de/

On 22.03.2011, at 13:36, <Jan.Dreyer@bertelsmann.de> wrote:

Hi Martin,
 
thanks. I already found that, sorry for not mentioning. But I do need some more: I want to set the value for “X-OTRS-ArticleKey” to that delivered by the mail.
e.g. one mail has
Articlefreekey1: MY_ID
and I want to set X-OTRS-ArticleKey to “MY_ID”
 
another mail has
Articlefreekey1: SOME_OTHER
and I want to set X-OTRS-ArticleKey to “SOME_OTHER”
 
I don’t see in the documentation how to do that (if possible at all).
 
Greetings
Jan Dreyer
 
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Martin Edenhofer
Sent: Tuesday, March 22, 2011 1:31 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Postmaster Filter
 
Hi Jan,
 
it is. http://doc.otrs.org/3.0/en/html/adminarea-postmasterfilter.html -> Table 5.4. Function of the different X-OTRS-headers
 
.... 

X-OTRS-ArticleKey(1|2|3):

Additional info key for the article.

Saves an additional info key for this article.

X-OTRS-ArticleValue(1|2|3):

Additional info value for the article.

Saves an additional info value for the article.

 
PS: If you want to have it a ticket level, use "X-OTRS-TicketKey" and so on.
 
 -Martin
 
 
On 22.03.2011, at 12:59, <Jan.Dreyer@bertelsmann.de> wrote:


Hi,
 
I want to give some freetext input in header information of incoming mails.
example:
---8< --
Message-ID: <25012212.91300793495185.JavaMail.some@host>
Subject: some infotext [Ticket# 841401199864]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_9_546520.1300793495185"
Articlefreekey1: MY_ID
Articlefreevalue1: 1401199864
Articlefreekey2: MY_CONTACT_NAME
Articlefreevalue2: User%20Name
---8< ---
 
Is it possible to put these variables (Articlefreekey1, …) into the database somehow?
 
Greetings
Jan Dreyer