[Spambayes] sb_imapfilter.py not adding headers / moving messages
Joe Catina
warehauz at hotmail.com
Mon Apr 26 21:59:44 EDT 2004
After some quick googling I saw this which could confirm your theory:
"Some servers did not make APPENDed messages available immediately. This
could again be an interoperability problem for disconnected clients trying
to reconnect and resynchronise. If the clients APPEND new messages to the
selected mailbox and then expect to be able to retrieve information about
them immediately after receiving a tagged OK from the APPEND command, they
may become confused when the new message seems not yet to be there. Clients
should be careful to wait for an EXISTS response announcing the availability
of the new message, but this can be annoying when the client must
periodically send NOOP commands to poll for this event. Happily, most
servers do provide access to the new message immediately."
(from http://www.imc.org/mc3-final.html)
Sounds like the problem we're having here exactly - I guess the 1 second
sleep just wasn't long enough to work around this. I'll try playing around
with the code, sleeping more, NOOP'ing, perhaps even disconnecting &
reconnecting the IMAP session to see how to handle this best. Unfortunately
I'm not the mail server admin so I'm not sure if there's any settings that
can be changed to speed up message availability.
Of course, once I get this figured out I'll still have the message parsing
failure issues ... one step at a time right? :)
_________________________________________________________________
Lose those love handles! MSN Fitness shows you two moves to slim your waist.
http://fitness.msn.com/articles/feeds/article.aspx?dept=exercise&article=et_pv_030104_lovehandles
More information about the Spambayes
mailing list