Hi Marc,

On Mon, Sep 23, 2002 at 06:15:30PM +0200, Marc Scheuffler wrote:
> [...] 
> 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 mscheuffler maxupport.de  Mon Sep 23 17:45:11 2002
> [...] 
> X-OTRS-TicketKey1:  5555
> 
> 
> Part of .procmailrc:
> 
> SUBJECT=`formail -xSubject:`
> :0 fhw :
> * TO:.*[EMAIL PROTECTED]
> | formail -I "X-OTRS-TicketKey1: $SUBJECT"

Fine. You got it. :)

The problem at the moment (BETA7) is, that you need to have X-OTRS-TicketKey1 and
X-OTRS-TicketValue1 (both). Then you will find this in your database (otrs.ticket). 

Try: | formail -I "X-OTRS-TicketKey1: Problem" | formail -I "X-OTRS-TicketValue1: 
$SUBJECT"

X-OTRS-TicketKey1 should be something like the topic of X-OTRS-TicketValue1.

Example: X-OTRS-TicketKey1: X-OTRS-TicketValue1 -=> Problem: 5555
 
Anyway it should be possible to have the X-OTRS-TicketValue empty. I changed this
in the CVS. Thanks! 

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
"Security is a process, not a product." - Bruce Schneider

_______________________________________________
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

Reply via email to