aerc/worker
Robin Jarry a46468521b imap: do not abort on malformed messages
Some messages contain invalid headers, textproto.ReadHeader fails with
an error:

  malformed MIME header key: From nobody Fri Jan 14 19

And all other messages of the selected folder are ignored.

Return an explicit error message to the UI and continue processing other
messages. This is consistent with what the maildir worker does.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-06 16:04:15 +01:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: do not abort on malformed messages 2022-02-06 16:04:15 +01:00
lib maildir,notmuch: avoid leaking open files 2022-01-19 20:18:00 +01:00
maildir maildir: defer the count of recent messages 2022-01-30 20:49:30 +01:00
notmuch maildir,notmuch: pass in-memory message to callback 2022-01-20 15:44:46 +01:00
types imap: auto-reconnects on connection error 2022-01-19 17:40:52 +01:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
worker_enabled.go go.mod: change base git url 2021-11-05 10:21:45 +01:00