Hello,
I have set up a Mail account on my system to pull in emails from Gmail through IMAPS. When I run the fetch command, it pulls in 7 emails of which only 1 matches the filter. The filter does implement the conditionals which is good, but I do not want OTRS to pull in the other 6 emails, or at least not to create tickets from them.
How do I get otrs to stop creating tickets on emails that do not match the filter?
Note: I have tried both stop after match = yes and = no in the postmaster filter, neither seems to do anything.
Thanks,
joson123
[SOLVED] Emails Filters Not Working
Moderator: crythias
[SOLVED] Emails Filters Not Working
Last edited by jason123 on 12 Jun 2017, 21:51, edited 1 time in total.
-
- Administrator
- Posts: 3934
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Emails Filters Not Working
OTRS fetches all e-mails. Usually one uses OTRS to communicate with OTRS and not with an e-mail client anymore. The Postmaster Filter affect only the behavior within OTRS after they were fetched.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Emails Filters Not Working
Hello root,
Thank you for your prompt response.
It works for me that OTRS pulls in all the emails, but it generates a ticket for ever email pulled in. Is there a way to ignore non-filtered emails so only the desired tickets are created?
Thanks
Thank you for your prompt response.
It works for me that OTRS pulls in all the emails, but it generates a ticket for ever email pulled in. Is there a way to ignore non-filtered emails so only the desired tickets are created?
Thanks
-
- Administrator
- Posts: 3934
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Emails Filters Not Working
Hi,
Yes, this is possible. Check the manual: http://doc.otrs.com/doc/manual/admin/st ... rs-headers The X-OTRS-Ignore header should the one you're looking for.
- Roy
Yes, this is possible. Check the manual: http://doc.otrs.com/doc/manual/admin/st ... rs-headers The X-OTRS-Ignore header should the one you're looking for.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Emails Filters Not Working
root, thank you so much, this worked.
My other issue with the filters is that the queue in the filter is not getting assigned, the default from SysConfig is getting assigned not the queue set in the filter.
Thanks again,
jason123
My other issue with the filters is that the queue in the filter is not getting assigned, the default from SysConfig is getting assigned not the queue set in the filter.
Thanks again,
jason123
Re: Emails Filters Not Working
Never mind, the filters queues are being set.
root, thanks again.
root, thanks again.