Upgraded our test box to 4.5.2 just in case it was somehow fixed there.. But no...
I turned on Debugging and here's some logs at least for the SEARCH part when set at TODAY'S MESSAGES:
Code:
2007-02-27 17:11:42,615 DEBUG [ImapSSLServer-1] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - C: A7 SEARCH SINCE 27-Feb-2007
2007-02-27 17:11:42,621 INFO [ImapSSLServer-1] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - [ search is: in:"Inbox" (after:2/27/07) ]
2007-02-27 17:11:42,926 DEBUG [ImapSSLServer-1] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - S: * SEARCH
2007-02-27 17:11:42,926 DEBUG [ImapSSLServer-1] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - S: A7 OK SEARCH completed
And when trying for "LAST 3 DAYS" we get:
Code:
2007-02-27 17:13:11,428 DEBUG [ImapSSLServer-3] [ip=55.66.77.88;name=zz-xxx@rider.edu;] imap - C: A7 SEARCH SINCE 25-Feb-2007
2007-02-27 17:13:11,428 INFO [ImapSSLServer-3] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - [ search is: in:"Inbox" (after:2/25/07) ]
2007-02-27 17:13:11,448 DEBUG [ImapSSLServer-3] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - S: * SEARCH 18
2007-02-27 17:13:11,449 DEBUG [ImapSSLServer-3] [ip=55.66.77.88;name=zz-xxxx@rider.edu;] imap - S: A7 OK SEARCH completed
Clearly the server is interpreting the 'SINCE' incorrectly as it's not including the date but it's doing 'AFTER'.... BUG !