Hello,

i'm trying to identify a backup mail that is configured within the IMAP sensor. But it always fails with there is no email that matches the filters. Im searching in the body with following regex: ^.*\b("name_client)\b.*$

The mail is in the inbox, with in the body (Job: "name_client backup Full Server-Incremental") Completed Successfully.

I've tested my regex with online testers and it's OK. Can i see why it's failing in the logs or something?

If I disable the "Identify by email" block the sensor works, so connection wise everything is OK.

Can you assist me?

Thanks.


Article Comments

Hello,

thank you very much for your support ticket. It seems the first \b is the 'problem'. Please try:

^.*("name_client\b).*$

instead. Does this then work?
We've tested your regular expression as well with our recommended regex-test page https://regex101.com/ and it did not match.

best regards.


Jun, 2013 - Permalink