Thanks for the fast reply.
Ups. Of course thanks to the others.... sorry.
The Bug #30 seems to be OK now.
I ve updated to the latest CVS files.
The header is correctly written into the mail (see below)
but I can't find the entry in the database (otrs.ticket or otrs.article)
Sorry but I am a newbie in perl.
Header of mail:
>From [EMAIL PROTECTED] Mon Sep 23 17:45:11 2002
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost (localhost [127.0.0.1])
by xxx (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id g8NFjAfE029072
for <otrs@localhost>; Mon, 23 Sep 2002 17:45:11 +0200
Received: from 172.0.0.1 [172.0.0.1]
by localhost with POP3 (fetchmail-5.9.0)
for otrs@localhost (single-drop); Mon, 23 Sep 2002 17:45:11 +0200 (CEST)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Subject: 5555
Date: Mon, 23 Sep 2002 17:40:43 +0200
Thread-Topic: 5555
Thread-Index: AcJjFpRuDYpaiD2bQcaVnYCA5XWRyw==
From: "Marc Scheuffler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by xxx id g8NFjAfE029072
X-Spam-Status: No, hits=0.6 required=5.0
tests=SPAM_PHRASE_00_01
version=2.41
X-Spam-Level:
X-OTRS-TicketKey1: 5555
Part of .procmailrc:
SUBJECT=`formail -xSubject:`
:0 fhw :
* TO:.*[EMAIL PROTECTED]
| formail -I "X-OTRS-TicketKey1: $SUBJECT"
-----Urspr�ngliche Nachricht-----
Von: Martin Edenhofer [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 23. September 2002 16:11
An: [EMAIL PROTECTED]
Betreff: Re: [otrs] Is X-OTRS-TicketKey working?
Hi Marc,
On Mon, Sep 23, 2002 at 02:57:13PM +0200, Marc Scheuffler wrote:
> I ve read in the DOC that it is possible to Create "X-OTRS-TicketKey"
> The X-Header has been set but OTRS doesn't put the Key into to
> Database.
>
> Is it implemented yet?
It's implemented (X-OTRS-TicketKey1 and X-OTRS-TicketKey2). But just to write
it into the database. Not to show it.
Update the following from CVS (if you use BETA7)
(http://otrs.org/cgi-bin/cvsweb.cgi/otrs/):
Kernel/Output/HTML/Standard/TicketView.dtl
Kernel/Output/HTML/Standard/TicketZoom.dtl
Kernel/Output/HTML/Standard/TicketZoomNote.dtl
Kernel/Output/HTML/Standard/TicketZoomSystem.dtl
Kernel/Modules/AgentQueueView.pm
Kernel/Modules/AgentZoom.pm
and you have the possibility to remove the '#' in the .dtl files to show the
TicketKeys and TicketValues (~ line 85).
Example:
If you pipe this through the PostMaster.pl and remove the '#' (~ line 85) in
the Kernel/Output/HTML/Standard/TicketView.dtl for TicketFreeKey1 and
TicketFreeValue1, then you will see this stuff.
[...]
From: root@localhost
To: otrs@localhost
Subject: Test msg
X-OTRS-TicketKey1: animal
X-OTRS-TicketValue1: dog
X-OTRS-ArticleKey1: sport
X-OTRS-ArticleValue1: football
Blah blah
CU
TicketKey1 && TicketValue1
[...]
> BTW: Fucking cool tool! Thanks Martin.
Not me alone. Stefan and Sibbi! :) And all the people who
help us! Thanks!
> Marc
PS: Is http://bugs.otrs.org/show_bug.cgi?id=30 working now?
Martin
--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
Old programmers never die. They just branch to a new address.
_______________________________________________
OpenTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
_______________________________________________
OpenTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs