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" <[email protected]>
To: "User questions and discussions about OTRS." <[email protected]>
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”.

Hope this helps

Cordialement, Best regards,

Florian HOUEL

cid:[email protected] *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:[email protected]

cid:[email protected]

*De :* [email protected] [mailto:[email protected]] *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: [email protected] <mailto:[email protected]>
Subject: Hello
Subject: World

Now when i put this in filter and save, it ignores
Subject: World

and just keeps
from: [email protected] <mailto:[email protected]>
Subject: Hello

I would like to filter any ticket that comes from [email protected] <mailto:[email protected]> and has Hello AND World in it.

If any ticket has From:[email protected] 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/
---------------------------------------------------------------------
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/

Reply via email to