Last week I tried to use the imap2thehive script with a google business mail account but I get the following error:
[WARNING]: Both case template and tasks are defined. Template (thehive_template) will be used.
[INFO]: Processing hivemail@foobar.com@imap.gmail.com:993/incoming
[INFO]: Connected to IMAP server.
Traceback (most recent call last):
File "imap2thehive.py", line 548, in <module>
main()
File "imap2thehive.py", line 544, in main
readMail(mailConnect())
File "imap2thehive.py", line 402, in readMail
typ, dat = mbox.search(None, '(UNSEEN)')
File "/usr/lib/python2.7/imaplib.py", line 643, in search
typ, dat = self._simple_command(name, *criteria)
File "/usr/lib/python2.7/imaplib.py", line 1091, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "/usr/lib/python2.7/imaplib.py", line 841, in _command
', '.join(Commands[name])))
imaplib.error: command SEARCH illegal in state AUTH, only allowed in states SELECTED
When I check the /var/log/imap2thehive.log file the only line that it has is this:
2019-09-23 15:23:58,631 WARNING Both case template and tasks are defined. Template (thehive_template) will be used.
Is there any advice you could give me to solve this issue?
Hi!
Last week I tried to use the imap2thehive script with a google business mail account but I get the following error:
When I check the
/var/log/imap2thehive.log
file the only line that it has is this:Is there any advice you could give me to solve this issue?
Thanks, Joaquin.