Hi All,
is it possible to add more than 4 filter in Postmaster Filter?
Thanks!
Zoltan
Add more filters
Moderator: crythias
-
- Znuny newbie
- Posts: 23
- Joined: 18 Jan 2013, 10:57
- Znuny Version: 5.x/6.x
- Real Name: Zoltan
- Company: Amaris
Add more filters
OTRS 3.2.7, Ubuntu 12.04.2, MySQL 5.5.29
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Add more filters
Yes
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Add more filters
in one filter you can have up to 4 match rules and up to for setted values via webinterface. But you can also use Postmaster Filters in Config.pm so you can have more values there
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 23
- Joined: 18 Jan 2013, 10:57
- Znuny Version: 5.x/6.x
- Real Name: Zoltan
- Company: Amaris
Re: Add more filters
Many Thanks!jojo wrote:in one filter you can have up to 4 match rules and up to for setted values via webinterface. But you can also use Postmaster Filters in Config.pm so you can have more values there
Could you give an example how to call the existing filter in Config.pm?
Zoltan
OTRS 3.2.7, Ubuntu 12.04.2, MySQL 5.5.29
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Add more filters
You can't "call" existing filters in Config.pm, but you can add new ones:
Code: Select all
$Self->{'PostMaster::PreFilterModule'}->{'00009-Match'} = {
Module => 'Kernel::System::PostMaster::Filter::Match',
Match => {
From => 'noreply@',
},
Set => {
'X-OTRS-Ignore' => 'yes',
},
};
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 23
- Joined: 18 Jan 2013, 10:57
- Znuny Version: 5.x/6.x
- Real Name: Zoltan
- Company: Amaris