[SOLVED] Use OR condition in Postmaster Filter

Moderator: crythias

Post Reply
Rick
Znuny newbie
Posts: 57
Joined: 30 Apr 2015, 09:24
Znuny Version: 4.0.7

[SOLVED] Use OR condition in Postmaster Filter

Post by Rick »

Hello,

How can I use OR condtion in filter for check value of FROM field for example.

Check email header : From
Look for value : .*domain.com OR .*domain.us OR .*domain.net

Is it possible ?

Thanks in advance.
Last edited by Rick on 12 May 2015, 14:25, edited 1 time in total.
wurzel
Znuny guru
Posts: 3224
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Use OR condition in Postmaster Filter

Post by wurzel »

Hi,

regular expressions are possible.

something like (\.domain1|\.domain2) should be working.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Rick
Znuny newbie
Posts: 57
Joined: 30 Apr 2015, 09:24
Znuny Version: 4.0.7

Re: Use OR condition in Postmaster Filter

Post by Rick »

Works good !! 8)
Thanks bro' !
Post Reply