Re: [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”. Hope this helps Cordialement, Best regards, 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 http://www.arcanal.com http://www.arcanal.com/ De : otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] De la part de Amit Sharma Envoyé : samedi 15 mai 2010 14:59 À : OTRS Forum Objet : [otrs] How to use AND condition in Postmaster Filter Hi, Please help me putting AND condition in Postmaster Filter. I would like to put a filter, for example: From: foo@foo.com mailto:foo@foo.com Subject: Hello Subject: World Now when i put this in filter and save, it ignores Subject: World and just keeps from: foo@foo.com mailto:foo@foo.com Subject: Hello I would like to filter any ticket that comes from foo@foo.com mailto:foo@foo.com and has Hello AND World in it. If any ticket has From:foo@foo.com and has Subject:Hello, it should not match. Idea is to match occurrence of two words (AND condition) in subject line. Hello and World both in subject should be matched. Please help. regards, amit ((otrs)) 2.4.7, Linux version

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.
What do you do if the order they might appear in the header varies?
That regexp won't find it.
----- Original Message -----
From: "Florian Houel"
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”.
Hope this helps
Cordialement, Best regards,
Florian HOUEL
cid:image001.jpg@01CA9830.593702B0 *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
http://www.arcanal.com http://www.arcanal.com/ cid:image002.jpg@01CA9830.593702B0
cid:image003.gif@01CA9830.593702B0
*De :* otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] *De la part de* Amit Sharma *Envoyé :* samedi 15 mai 2010 14:59 *À :* OTRS Forum *Objet :* [otrs] How to use AND condition in Postmaster Filter
Hi,
Please help me putting AND condition in Postmaster Filter.
I would like to put a filter, for example:
From: foo@foo.com mailto:foo@foo.com Subject: Hello Subject: World
Now when i put this in filter and save, it ignores Subject: World
and just keeps from: foo@foo.com mailto:foo@foo.com Subject: Hello
I would like to filter any ticket that comes from foo@foo.com mailto:foo@foo.com and has Hello AND World in it.
If any ticket has From:foo@foo.com and has Subject:Hello, it should not match.
Idea is to match occurrence of two words (AND condition) in subject line. Hello and World both in subject should be matched.
Please help.
regards, amit ((otrs)) 2.4.7, Linux version
------------------------------------------------------------------------
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (2)
-
Florian Houel
-
TechFan