PostMaster filter "authenticated customer"

Moderator: crythias

Locked
ssv
Znuny newbie
Posts: 6
Joined: 12 Nov 2015, 08:37
Znuny Version: OTRS 5.0
Real Name: Sergey

PostMaster filter "authenticated customer"

Post by ssv »

Is it possible using a filter or other means to determine the a request from user registered in the database?

I want to make a filter for known users to move their new tikets to a special queure.

Thanks.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: PostMaster filter "authenticated customer"

Post by crythias »

Don't use Customer based queues.

Or if you must, check if CustomerID contains @
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
ssv
Znuny newbie
Posts: 6
Joined: 12 Nov 2015, 08:37
Znuny Version: OTRS 5.0
Real Name: Sergey

Re: PostMaster filter "authenticated customer"

Post by ssv »

CustomerID = SenderEmailAddress for unauthenticated customer.

How to make this test?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: PostMaster filter "authenticated customer"

Post by crythias »

You don't. Just check for @
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
ssv
Znuny newbie
Posts: 6
Joined: 12 Nov 2015, 08:37
Znuny Version: OTRS 5.0
Real Name: Sergey

Re: PostMaster filter "authenticated customer"

Post by ssv »

I've tried various options, but does not work.
Sach as
X-OTRS-CustomerNo-> not ^\S+@\S+$
X-OTRS-Queue -> sameQueue
ssv
Znuny newbie
Posts: 6
Joined: 12 Nov 2015, 08:37
Znuny Version: OTRS 5.0
Real Name: Sergey

Re: PostMaster filter "authenticated customer"

Post by ssv »

X-OTRS-CustomerID not available in filter list
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: PostMaster filter "authenticated customer"

Post by crythias »

ssv wrote:X-OTRS-CustomerNo-> not ^\S+@\S+$
negate (not one or more nonwhitespace @ not one or more nonwhitespace) ...
Seems legit, but did you simply look for @?

Even still, what do you *really* want to happen? It seems simpler to assume that all mail tickets are valid (and goes to the proper default queue) except when it isn't valid ... which means it has @ in X-OTRS-CustomerNo.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
ssv
Znuny newbie
Posts: 6
Joined: 12 Nov 2015, 08:37
Znuny Version: OTRS 5.0
Real Name: Sergey

Re: PostMaster filter "authenticated customer"

Post by ssv »

whether is it possible to filter by the field X-OTRS-CustomerID?
By default, this field is not available in my otrs5.
ssv
Znuny newbie
Posts: 6
Joined: 12 Nov 2015, 08:37
Znuny Version: OTRS 5.0
Real Name: Sergey

Re: PostMaster filter "authenticated customer"

Post by ssv »

Thanks for answers.
Solve the problem by mail filter failed.
I solved the problem through GenericAgent.
Locked