Postmaster filter email from not working fine

Moderator: crythias

Post Reply
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Postmaster filter email from not working fine

Post by drodralv »

Hello,

We do have set a postmaster filter from emails From "normal.regular@email.com" that moves the ticket to an specific queue.
For some reason, also the emails From "casual-normal.regular@email.com" are triggering that filter.

Is any symbol that i have to use to define the exact email "normal.regular@email.com" ?

I hope i explained myself correctly.

Thank you

OTRS 5.0.28
wurzel
Znuny guru
Posts: 3234
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Postmaster filter email from not working fine

Post by wurzel »

Hi,

the checker is a regexp. So "normal.regular@email.com" triggers everything.

You have to play around like ^normal\.regular@email\.com

or with $ or other regular expressions.

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.
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Re: Postmaster filter email from not working fine

Post by drodralv »

Hello,

Thank you for your reply, that example you provided works avoiding the other email but is not working for that one.

I will have to play around

Regards
zzz
Znuny superhero
Posts: 890
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Postmaster filter email from not working fine

Post by zzz »

Hello,

The caret (^) would work if the parsed field would only be: "normal.regular@email.com", but you're probably having something like "Normal Regular <normal.regular@email.com>".
So try this one instead: "<normal.regular@email.com>".

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Re: Postmaster filter email from not working fine

Post by drodralv »

Hello,

It does not work. The email address itself is matching but when adding ^ in the beginning or other \ , it doesn't.

I will still trying.

Thank you
wurzel
Znuny guru
Posts: 3234
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Postmaster filter email from not working fine

Post by wurzel »

Hi,

I am no regexp expert but you have to configure it properly
and please @all: please correct the RegExp if they are wrong :lol:

i use https://regex101.com/ for his

with

Code: Select all

normal\.regular@email\.com>$
it checks to normal.regular@email.com> at the end of the line

with

Code: Select all

normal\.regular@email\.com
et checks to normal.regular@email.com anywhere in the line

with

Code: Select all

^normal\.regular@email\.com>
et checks to normal.regular@email.com> at the beginning of the line


so this is tricky

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.
drodralv
Znuny advanced
Posts: 102
Joined: 26 Jul 2019, 08:25
Znuny Version: 5.0.28

Re: Postmaster filter email from not working fine

Post by drodralv »

Hello!

I found out how to set it: <normal\.regular@email\.com> and that's it

Thank you to everyone
Post Reply