hello,
I am trying to set the priority according to a string in the customer email.
I am using a regex to find it, but I don'r know the result of the regex. Can it be debugged?
however,
I am trying to set the value found into the header
X-OTRS-Priority
I am simply trying to ste the ID of the priority. Is that correct or do i have to set the actual text of the priority?
Hinrich
Postmaster filter to set priority
Moderator: crythias
-
MCCoolMoDAue
- Znuny newbie
- Posts: 33
- Joined: 24 Jan 2017, 11:55
- Znuny Version: 5.0.0
-
MCCoolMoDAue
- Znuny newbie
- Posts: 33
- Joined: 24 Jan 2017, 11:55
- Znuny Version: 5.0.0
Re: Postmaster filter to set priority
Damn, I found the error log.
I really have to provide the string for the priority.
From my perspective this seems like a bad idea.
anywho, I'll just rename the priorities to plain numbers
I really have to provide the string for the priority.
From my perspective this seems like a bad idea.
anywho, I'll just rename the priorities to plain numbers
-
reneeb
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Postmaster filter to set priority
Try X-OTRS-PriorityID for the header
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
MCCoolMoDAue
- Znuny newbie
- Posts: 33
- Joined: 24 Jan 2017, 11:55
- Znuny Version: 5.0.0
Re: Postmaster filter to set priority
I added that attribute to the
PostmasterX-Header
but it had no effect.
now I've created 3 filters, each for one priority I want to parse.
problem was that I did not know in which representation the regular expressions would process the email.
i checked the database for that and found the text of the articles.
used that to build my regex
PostmasterX-Header
but it had no effect.
now I've created 3 filters, each for one priority I want to parse.
problem was that I did not know in which representation the regular expressions would process the email.
i checked the database for that and found the text of the articles.
used that to build my regex