[SOLVED] PostMaster Filter question

Moderator: crythias

Post Reply
GabrielV
Znuny newbie
Posts: 30
Joined: 06 Feb 2015, 20:03
Znuny Version: 6.0
Real Name: Gabriel Vilar
Company: Telearte
Location: Argentina
Contact:

[SOLVED] PostMaster Filter question

Post by GabrielV »

Hi everyone,

I need to know if the function PostMaster Filter Management in OTRS 5 can proccess email ONLY of certain specifics domains.

For example: I want to process ticket from *@example.com *@otrs.con etc. But no any other domain.

Any help will be apreciated!

Thanks
Last edited by GabrielV on 25 Apr 2017, 21:08, edited 1 time in total.
Gabriel Vilar, OTRS 6, Centos 7 Apache2+MariaDB 5.5
albsie
Znuny newbie
Posts: 9
Joined: 20 Dec 2016, 14:11
Znuny Version: 5.0.18

Re: PostMaster Filter question

Post by albsie »

This should apply to you.
viewtopic.php?t=23196
Version: OTRS::ITSM 5s 5.0.18
Additional Packages: DynamicFieldITSMConfigItem
OS: Ubuntu 16.04
GabrielV
Znuny newbie
Posts: 30
Joined: 06 Feb 2015, 20:03
Znuny Version: 6.0
Real Name: Gabriel Vilar
Company: Telearte
Location: Argentina
Contact:

Re: PostMaster Filter question

Post by GabrielV »

albsie wrote:This should apply to you.
viewtopic.php?t=23196
Hi albsie, really I not find any helpful for my case in that post..
Gabriel Vilar, OTRS 6, Centos 7 Apache2+MariaDB 5.5
albsie
Znuny newbie
Posts: 9
Joined: 20 Dec 2016, 14:11
Znuny Version: 5.0.18

Re: PostMaster Filter question

Post by albsie »

well, you can make a postmasterfilter and use regexpressions to allow only the domains you want to.
a very lax regexpression would be

Code: Select all

(.+)@example\.com
and for multiple domains (not tested)

Code: Select all

(.+)@example\.com | (.+)@otrs\.com
Version: OTRS::ITSM 5s 5.0.18
Additional Packages: DynamicFieldITSMConfigItem
OS: Ubuntu 16.04
GabrielV
Znuny newbie
Posts: 30
Joined: 06 Feb 2015, 20:03
Znuny Version: 6.0
Real Name: Gabriel Vilar
Company: Telearte
Location: Argentina
Contact:

Re: PostMaster Filter question

Post by GabrielV »

albsie wrote:well, you can make a postmasterfilter and use regexpressions to allow only the domains you want to.
a very lax regexpression would be

Code: Select all

(.+)@example\.com
and for multiple domains (not tested)

Code: Select all

(.+)@example\.com | (.+)@otrs\.com
I could not get it. I put the filter but still enter mails from any domain. Can someone help me?

Screenshot of the filter:
Captura2.PNG
You do not have the required permissions to view the files attached to this post.
Gabriel Vilar, OTRS 6, Centos 7 Apache2+MariaDB 5.5
albsie
Znuny newbie
Posts: 9
Joined: 20 Dec 2016, 14:11
Znuny Version: 5.0.18

Re: PostMaster Filter question

Post by albsie »

Negate the Filter and use "X-OTRS-Ignore" for E-Mail-Header.
Version: OTRS::ITSM 5s 5.0.18
Additional Packages: DynamicFieldITSMConfigItem
OS: Ubuntu 16.04
GabrielV
Znuny newbie
Posts: 30
Joined: 06 Feb 2015, 20:03
Znuny Version: 6.0
Real Name: Gabriel Vilar
Company: Telearte
Location: Argentina
Contact:

Re: PostMaster Filter question

Post by GabrielV »

albsie wrote:Negate the Filter and use "X-OTRS-Ignore" for E-Mail-Header.
Yes, it works! Thaks albsie

Best regards!
Gabriel Vilar, OTRS 6, Centos 7 Apache2+MariaDB 5.5
Post Reply