After a while with Mailur running, I stop getting new messages. Looking at the mailur-lucas.service
service, I can see the following log message:
Sep 21 01:54:35 webmail sh[14468]: During handling of the above exception, another exception occurred:
Sep 21 01:54:35 webmail sh[14468]: Traceback (most recent call last):
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 104, in inner
Sep 21 01:54:35 webmail sh[14468]: return func(con, *a, **kw)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 87, in inner
Sep 21 01:54:35 webmail sh[14468]: return fn_time(func)(con, *a, **kw)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/__init__.py", line 99, in inner_fn
Sep 21 01:54:35 webmail sh[14468]: return func(*a, **kw)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 415, in select
Sep 21 01:54:35 webmail sh[14468]: res = check(con.select(box, readonly))
Sep 21 01:54:35 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 745, in select
Sep 21 01:54:35 webmail sh[14468]: typ, dat = self._simple_command(name, mailbox)
Sep 21 01:54:35 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 1196, in _simple_command
Sep 21 01:54:35 webmail sh[14468]: return self._command_complete(name, self._command(name, *args))
Sep 21 01:54:35 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 981, in _command
Sep 21 01:54:35 webmail sh[14468]: raise self.abort('socket error: %s' % val)
Sep 21 01:54:35 webmail sh[14468]: imaplib.IMAP4.abort: socket error: [Errno 32] Broken pipe
Sep 21 01:54:35 webmail sh[14468]: During handling of the above exception, another exception occurred:
Sep 21 01:54:35 webmail sh[14468]: Traceback (most recent call last):
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/cli.py", line 133, in inner
Sep 21 01:54:35 webmail sh[14468]: fn(*a, **kw)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/cli.py", line 144, in idle_remote
Sep 21 01:54:35 webmail sh[14468]: with remote.client(**params) as c:
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/remote.py", line 85, in client
Sep 21 01:54:35 webmail sh[14468]: ctx = imap.client(connect, writable=writable)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 215, in client
Sep 21 01:54:35 webmail sh[14468]: con = start()
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 202, in start
Sep 21 01:54:35 webmail sh[14468]: con = connect()
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/__init__.py", line 99, in inner_fn
Sep 21 01:54:35 webmail sh[14468]: return func(*a, **kw)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/remote.py", line 79, in connect
Sep 21 01:54:35 webmail sh[14468]: con = Remote()
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/remote.py", line 60, in __init__
Sep 21 01:54:35 webmail sh[14468]: account = data_account.get()
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/local.py", line 147, in get
Sep 21 01:54:35 webmail sh[14468]: value = metavalue.key(name)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/local.py", line 125, in key
Sep 21 01:54:35 webmail sh[14468]: return get().get(name, default)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 61, in inner_fn
Sep 21 01:54:35 webmail sh[14468]: with use_or_create(kw):
Sep 21 01:54:35 webmail sh[14468]: File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
Sep 21 01:54:35 webmail sh[14468]: return next(self.gen)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 38, in use_or_create
Sep 21 01:54:35 webmail sh[14468]: con.select(box, readonly)
Sep 21 01:54:35 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 106, in inner
Sep 21 01:54:35 webmail sh[14468]: raise Error(e)
Sep 21 01:54:35 webmail sh[14468]: mailur.imap.Error: socket error: [Errno 32] Broken pipe
Sep 21 01:54:45 webmail sh[14468]: [2021-09-21 01:54:45UTC][DEB][14468][lucas][timing] select(Local{'lucas*root', 'mlr/Sys'}, 'mlr/Sys', True): done for 0.00s
Sep 21 01:54:45 webmail sh[14468]: [2021-09-21 01:54:45UTC][DEB][14468][lucas][timing] mailur.remote.connect: done for 0.00s
Sep 21 01:54:45 webmail sh[14468]: [2021-09-21 01:54:45UTC][ERR][14468][lucas][inner] socket error: [Errno 32] Broken pipe
Sep 21 01:54:45 webmail sh[14468]: Traceback (most recent call last):
Sep 21 01:54:45 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 979, in _command
Sep 21 01:54:45 webmail sh[14468]: self.send(data + CRLF)
Sep 21 01:54:45 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 318, in send
Sep 21 01:54:45 webmail sh[14468]: self.sock.sendall(data)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/env/lib64/python3.6/site-packages/gevent/_socketcommon.py", line 699, in sendall
Sep 21 01:54:45 webmail sh[14468]: return _sendall(self, data_memory, flags)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/env/lib64/python3.6/site-packages/gevent/_socketcommon.py", line 409, in _sendall
Sep 21 01:54:45 webmail sh[14468]: timeleft = __send_chunk(socket, chunk, flags, timeleft, end)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/env/lib64/python3.6/site-packages/gevent/_socketcommon.py", line 338, in __send_chunk
Sep 21 01:54:45 webmail sh[14468]: data_sent += socket.send(chunk, flags)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/env/lib64/python3.6/site-packages/gevent/_socketcommon.py", line 722, in send
Sep 21 01:54:45 webmail sh[14468]: return self._sock.send(data, flags)
Sep 21 01:54:45 webmail sh[14468]: BrokenPipeError: [Errno 32] Broken pipe
Sep 21 01:54:45 webmail sh[14468]: During handling of the above exception, another exception occurred:
Sep 21 01:54:45 webmail sh[14468]: Traceback (most recent call last):
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 104, in inner
Sep 21 01:54:45 webmail sh[14468]: return func(con, *a, **kw)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 87, in inner
Sep 21 01:54:45 webmail sh[14468]: return fn_time(func)(con, *a, **kw)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/__init__.py", line 99, in inner_fn
Sep 21 01:54:45 webmail sh[14468]: return func(*a, **kw)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 415, in select
Sep 21 01:54:45 webmail sh[14468]: res = check(con.select(box, readonly))
Sep 21 01:54:45 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 745, in select
Sep 21 01:54:45 webmail sh[14468]: typ, dat = self._simple_command(name, mailbox)
Sep 21 01:54:45 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 1196, in _simple_command
Sep 21 01:54:45 webmail sh[14468]: return self._command_complete(name, self._command(name, *args))
Sep 21 01:54:45 webmail sh[14468]: File "/usr/lib64/python3.6/imaplib.py", line 981, in _command
Sep 21 01:54:45 webmail sh[14468]: raise self.abort('socket error: %s' % val)
Sep 21 01:54:45 webmail sh[14468]: imaplib.IMAP4.abort: socket error: [Errno 32] Broken pipe
Sep 21 01:54:45 webmail sh[14468]: During handling of the above exception, another exception occurred:
Sep 21 01:54:45 webmail sh[14468]: Traceback (most recent call last):
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/cli.py", line 133, in inner
Sep 21 01:54:45 webmail sh[14468]: fn(*a, **kw)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/cli.py", line 144, in idle_remote
Sep 21 01:54:45 webmail sh[14468]: with remote.client(**params) as c:
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/remote.py", line 85, in client
Sep 21 01:54:45 webmail sh[14468]: ctx = imap.client(connect, writable=writable)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 215, in client
Sep 21 01:54:45 webmail sh[14468]: con = start()
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 202, in start
Sep 21 01:54:45 webmail sh[14468]: con = connect()
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/__init__.py", line 99, in inner_fn
Sep 21 01:54:45 webmail sh[14468]: return func(*a, **kw)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/remote.py", line 79, in connect
Sep 21 01:54:45 webmail sh[14468]: con = Remote()
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/remote.py", line 60, in __init__
Sep 21 01:54:45 webmail sh[14468]: account = data_account.get()
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/local.py", line 147, in get
Sep 21 01:54:45 webmail sh[14468]: value = metavalue.key(name)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/local.py", line 125, in key
Sep 21 01:54:45 webmail sh[14468]: return get().get(name, default)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 61, in inner_fn
Sep 21 01:54:45 webmail sh[14468]: with use_or_create(kw):
Sep 21 01:54:45 webmail sh[14468]: File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
Sep 21 01:54:45 webmail sh[14468]: return next(self.gen)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 38, in use_or_create
Sep 21 01:54:45 webmail sh[14468]: con.select(box, readonly)
Sep 21 01:54:45 webmail sh[14468]: File "/opt/mailur/mailur/imap.py", line 106, in inner
Sep 21 01:54:45 webmail sh[14468]: raise Error(e)
Sep 21 01:54:45 webmail sh[14468]: mailur.imap.Error: socket error: [Errno 32] Broken pipe