Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert Keyword section to handle values not enclosed in square brackets #7

Open
vi-or-die opened this issue Jul 2, 2018 · 1 comment

Comments

@vi-or-die
Copy link

Is there anyway we can configure the script to evaluate the whole alert keyword field as a regular expression?

I built a centralized mailbox that has mail rules to move messages to subfolders. I then built a scheduled task that runs the imap2thehive with different configuration files to point at those subfolders. I wanted to create alerts in the Hive for triaging and then things that can't be weeded out will be imported as cases.

The regular expression in the Alert Keyword field within the configuration file seems to only analyze values contained between the square brackets [ ] in a subject.

I have been struggling to build different regular expressions. simply removing the \S* from the regular expression doesn't work.

@xme xme added the enhancement label Jul 2, 2018
@xme
Copy link
Owner

xme commented Jul 2, 2018

Thank you for the feedback. It looks an interesting enhancement. I'll look into it.
I'm also working on a way to fill extra-fields based on regexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants