[IntelMQ-users] MailURLCollector bot not working

Renz Delmor Zabala renzdelmor.zabala at dict.gov.ph
Wed May 31 09:01:52 CEST 2023


Hello,

May I ask for your expertise on how to make this bot working, any
prerequisite softwares that I'm not aware of that might've missed in your
installation instructions? Please help, thanks.

*Linux Ubuntu 20.04.6 LTS (Focal Fossa)*
*Installation:*

   1. With pip from PyPI.
   2. Installed Docker-Compose using Docker’s repository.
   3. Installed Docker Engine using the apt repository.
   4. Cloned intelmq-docker to the root folder.
   5. Performed docker compose pull and up.
   6. Now able to access in 127.0.0.1:1337
   7. Using MailURLCollector => Genericcsvparser => DeduplicatorExpert =>
   File-output


2023-05-31 05:31:43,766 - MailURL-Collector - INFO - MailURLCollectorBot
initialized with id MailURL-Collector and intelmq 3.1.0 and python 3.9.2
(default, Feb 28 2021, 17:03:44) as process 1792.
2023-05-31 05:31:43,767 - MailURL-Collector - INFO - Bot is starting.
2023-05-31 05:31:44,095 - MailURL-Collector - INFO - Bot initialization
completed.
2023-05-31 05:31:47,922 - MailURL-Collector - ERROR - Bot has found a
problem.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/intelmq/lib/bot.py", line
319, in start
    self.process()
  File
"/usr/local/lib/python3.9/dist-packages/intelmq/bots/collectors/mail/_lib.py",
line 67, in process
    for uid, message in emails:
  File "/usr/local/lib/python3.9/dist-packages/imbox/messages.py", line 55,
in _fetch_email_list
    yield uid, self._fetch_email(uid)
  File "/usr/local/lib/python3.9/dist-packages/imbox/messages.py", line 42,
in _fetch_email
    return fetch_email_by_uid(uid=uid,
  File "/usr/local/lib/python3.9/dist-packages/imbox/parser.py", line 150,
in fetch_email_by_uid
    message, data = connection.uid('fetch', uid, '(BODY.PEEK[] FLAGS)')
  File "/usr/lib/python3.9/imaplib.py", line 890, in uid
    typ, dat = self._simple_command(name, command, *args)
  File "/usr/lib/python3.9/imaplib.py", line 1230, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python3.9/imaplib.py", line 1055, in _command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
imaplib.IMAP4.error: UID command error: BAD [b'Could not parse command']
2023-05-31 05:31:47,994 - MailURL-Collector - INFO - Bot will continue in
15 seconds.
2023-05-31 05:31:56,408 - MailURL-Collector - INFO - Received SIGTERM.
2023-05-31 05:31:56,409 - MailURL-Collector - INFO - Bot stopped.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20230531/755195c6/attachment.htm>


More information about the IntelMQ-users mailing list