Filtering incoming messages
Moderator: crythias
-
- Znuny newbie
- Posts: 78
- Joined: 30 Jan 2014, 15:27
- Znuny Version: 4.0.19
- Location: Poland
- Contact:
Filtering incoming messages
Is it possible to set a mail filter to send to a specific queue, all emails that do NOT come from a specific email address / domain specific?
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 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: Filtering incoming messages
Yes, at least with OTRS >= 3.3. What you are searching for is called "PostMaster Filter".
Filter:
Header: From, Value: the one mail adress the rule is NOT for, negate: check the checkbox
Set:
X-OTRS-Queue: Queuename where all the tickets should be send to
OTRS < 3.3 (or second way for OTRS >= 3.3):
Filter:
Header: From, Value: the one mail adress the rule whose tickets should NOT be in the special queue
Set:
X-OTRS-Queue: some specific queue for the mail address
SysConfig:
Postmaster default queue: The special queue for all other mails
(untested)
Filter:
Header: From, Value: the one mail adress the rule is NOT for, negate: check the checkbox
Set:
X-OTRS-Queue: Queuename where all the tickets should be send to
OTRS < 3.3 (or second way for OTRS >= 3.3):
Filter:
Header: From, Value: the one mail adress the rule whose tickets should NOT be in the special queue
Set:
X-OTRS-Queue: some specific queue for the mail address
SysConfig:
Postmaster default queue: The special queue for all other mails
(untested)
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: 78
- Joined: 30 Jan 2014, 15:27
- Znuny Version: 4.0.19
- Location: Poland
- Contact:
Re: Filtering incoming messages
I have OTRS 3.0.10.
I can't set default queue for other mails I have very large system queues and system addresses.
I can't set default queue for other mails I have very large system queues and system addresses.
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 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: Filtering incoming messages
Then you can write your own Postmaster filter (a perl module). There are quite a few examples in that forum and here: https://gist.github.com/reneeb/10115413
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