Buenas he estado intentando configurar algunos filtros para que no se creen tickets, por ejemplo los correos que en el asunto empiecen con unas palabras como... [The job succeeded.] SQL Server Job System: ... pero no ha estado funcionando... lo que hice fue agregar lo siguiente
De este modo creo que funciono por un momento y luego ya no llegaron tickets de ningún lado, no se si estoy aplicando mal el filtro...
Filtros de correo... Como funcionan?
-
- 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: Filtros de correo... Como funcionan?
As these are regular expressions, you have to escape the "[" and "]"...
Code: Select all
\[The job succeeded.\]
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: Filtros de correo... Como funcionan?
Thanks, the example that you gave me was useful to filter emails with this subject, is there a guide to use regular expressions ? since I would like to filter some emails from noreply @ ..., donotreply @ ...reneeb wrote: ↑21 Sep 2018, 16:38 As these are regular expressions, you have to escape the "[" and "]"...
Code: Select all
\[The job succeeded.\]
And some other words in the subject for example "Failed" I try to do it according to your example but I got an error
And I could not make the filters.
-
- 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: Filtros de correo... Como funcionan?
You just have to escape "special characters". So in the second case you have to use
https://medium.com/factory-mind/regex-t ... 9dc1c3f285
https://www.regular-expressions.info/tutorial.html
Code: Select all
Failed
https://www.regular-expressions.info/tutorial.html
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 expert
- Posts: 185
- Joined: 08 May 2014, 16:05
- Znuny Version: 6.0.10
- Real Name: Marcos Aurelio Silverio
- Company: Infracerta
- Location: Brazil
- Contact:
Re: Filtros de correo... Como funcionan?
Reneeb esta correcto. pero una cosa que deberias pensar es porque el sistema está enviando correos para OTRS si no es la idea abrir ticket con ellos, talvez puedes hacer con que la origen pare de enviar este tipo de correo.
Bueno, es solo una idea.
Un abrazo.
Bueno, es solo una idea.
Un abrazo.
OTRS 6.0.10 Centos 7 Mysql 5.6
Videos de OTRS no Youtube: https://www.youtube.com/channel/UCscGon ... 7hADe3AalA
http://infracerta.com.br
Videos de OTRS no Youtube: https://www.youtube.com/channel/UCscGon ... 7hADe3AalA
http://infracerta.com.br