"Stop after match" - purpose of the option?
Moderator: crythias
-
- Znuny newbie
- Posts: 78
- Joined: 30 Jan 2014, 15:27
- Znuny Version: 4.0.19
- Location: Poland
- Contact:
"Stop after match" - purpose of the option?
What is the purpose of the option "Stop after match" in PostMaster Filter?
OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
-
- Znuny newbie
- Posts: 62
- Joined: 03 Dec 2014, 18:49
- Znuny Version: OTRS 4
- Location: Portugal
- Contact:
Re: "Stop after match" - purpose of the option?
The filter is final if selected, otherwise other matching filters may still be applied
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
Re: "Stop after match" - purpose of the option?
All filters are checked alphabetically like you see them on the postmaster filter page:
Filter A sets a ticket to Type "Change Request" if the mail was sent from changes@example.com
Filter B sets a ticket to Type "Incident" if a mail is sent from any address from the @example.com domain
Now we receive a mail from changes@example.com.
If you selected 'Stop after match' "YES" it will not check filter B so the result is type "Change Request".
Otherwise with 'Stop after match' set to "NO" it will also check B and the type will be "Incident" because X-OTRS-Type will be overwritten by the second filter.
So you have to be real careful about the order of your filters and about that 'Stop after match' option.
Filter A sets a ticket to Type "Change Request" if the mail was sent from changes@example.com
Filter B sets a ticket to Type "Incident" if a mail is sent from any address from the @example.com domain
Now we receive a mail from changes@example.com.
If you selected 'Stop after match' "YES" it will not check filter B so the result is type "Change Request".
Otherwise with 'Stop after match' set to "NO" it will also check B and the type will be "Incident" because X-OTRS-Type will be overwritten by the second filter.
So you have to be real careful about the order of your filters and about that 'Stop after match' option.
-
- Znuny newbie
- Posts: 78
- Joined: 30 Jan 2014, 15:27
- Znuny Version: 4.0.19
- Location: Poland
- Contact:
Re: "Stop after match" - purpose of the option?
EXG133 - Thank you veru much for explains. Now all it is clear 

OTRS 4.0.19/6.0.26, openSUSE 12, MySQL 5.5
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy
KodIT Usługi Informatyczne - Odzyskiwanie danych Poznań - Serwis Komputerowy