Hallo,
Ich bin auf denselben Fehler gestoßen. Bei mir scheint das Problem in der E-Mail-Regel gelegen zu haben. Dort hatte ich eingestellt, dass importieren E-Mails einen Tag erhalten - das wird wohl nicht von Outlook unterstützt? (Ich schätze paperless fragt direkt nur nach E-Mails ohne diesen Tag und das wird nicht Supported).
Wenn ich das ändere auf E-Mails als wichtig Markieren bekomme ich immerhin einen neuen Fehler:
[CODE][2024-02-25 20:50:03,763] [ERROR] [paperless_mail] Rule Outlook.Outlook-old: Error while processing rule: socket error: EOF occurred in violation of protocol (_ssl.c:2427)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/imaplib.py", line 1006, in _command
self.send(data + CRLF)
File "/usr/local/lib/python3.11/imaplib.py", line 332, in send
self.sock.sendall(data)
File "/usr/local/lib/python3.11/ssl.py", line 1273, in sendall
v = self.send(byte_view[count:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 1242, in send
return self._sslobj.write(data)
^^^^^^^^^^^^^^^^^^^^^^^^
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2427)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/paperless/src/paperless_mail/mail.py", line 514, in handle_mail_account
total_processed_files += self._handle_mail_rule(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/paperless/src/paperless_mail/mail.py", line 582, in _handle_mail_rule
for message in messages:
File "/usr/local/lib/python3.11/site-packages/imap_tools/mailbox.py", line 161, in fetch
for fetch_item in (self._fetch_in_bulk if bulk else self._fetch_by_one)(uids, message_parts, reverse): # noqa
File "/usr/local/lib/python3.11/site-packages/imap_tools/mailbox.py", line 134, in _fetch_in_bulk
fetch_result = self.client.uid('fetch', ','.join(uid_list), message_parts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/imaplib.py", line 890, in uid
typ, dat = self._simple_command(name, command, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/imaplib.py", line 1230, in _simple_command
return self._command_complete(name, self._command(name, *args))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/imaplib.py", line 1008, in _command
raise self.abort('socket error: %s' % val)
imaplib.IMAP4.abort: socket error: EOF occurred in violation of protocol (_ssl.c:2427)
[2024-02-25 20:50:03,772] [ERROR] [paperless_mail] Error while retrieving mailbox Outlook: socket error: [SSL: BAD_LENGTH] bad length (_ssl.c:2427)[/CODE]