De : otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] De la part de TechFan
Envoyé : mardi 18 mai 2010 14:10
À : User questions and discussions about OTRS.
Objet : Re: [otrs] How to use AND condition in Postmaster Filter
We have been wanting to do AND conditions as well and I reported this as well earlier. You can't do multiple rules from the same header, etc.
With a regexp, there’s just one condition line for “Subject” in one rule.
What do you do if the order they might appear in the header varies?
That regexp won't find it.
I’d probably set two different rules/filters, a “Hello.*World” and a “World.*Hello” …
Have a nice day,
Cordialement,
Florian HOUEL
Bâtissons ensemble vos systèmes d’informations . . .
53, Cours Romestang - 38200 VIENNE
Tél. : +33 (0)4 74 16 01 63 / +33 (0)6 72 00 16 45
Fax : +33 (0)4 74 16 18 66
----- Original Message -----
From: "Florian Houel" <Florian.Houel@arcanal.fr>
To: "User questions and discussions about OTRS." <otrs@otrs.org>
Sent: Tuesday, May 18, 2010 6:16:23 PM
Subject: [otrs] How to use AND condition in Postmaster Filter
> Hi Amit,
>
> you’ll probably find your solution with regexp (regular expressions,
> see for instance http://www.regular-expressions.info/).
>
> Try with Subject: Hello.*World where the “.*”
> means “any character string”.
>