[Dovecot] Problems with BEFORE searches.
Trever L. Adams
trever.adams at gmail.com
Fri May 11 15:22:40 EEST 2007
Ok, I am trying to modify some code given to me by the author of the
dspam plugin for dovecot (sorry the name eludes me). I am modifying it
to handle UNSEEN differently than SEEN.
Below is the python code. I am not a python programmer, but I get the
ok, uids = conn.search(None, 'BEFORE', unreadsentbefore, 'SEEN')
"11-May-2007 06:18:29 -0600" is the value of unreadsentbefore.
However, this doesn't match any emails even though they are all dated as
5/10 and they have all been read for several hours (the time was the
current to figure out why it isn't working).
Is there a problem with BEFORE and SEEN together? Is there a BEFORE bug
in the system? Some of the messages are -500 and others, I am not sure.
More information about the dovecot