list-archive-collector: improve marc retrieval
Added some features to retrieving messages from marc.info:
- earlier messages don't seem to have a message-id, so we fake it now
instead of completely ignoring these (they still serve a purpose)
- the "backoff" time now considers how much time has elapsed since the
last request to marc.info, so if we already spent a couple of seconds
checking a message for spam, we don't additionally sleep an extra second
- if the target mailbox already has messages in it, we will not
re-download those
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
1 file changed