[imapfilter-devel] No match with contain_subject on Exchange server
Bernd Kuemmerlen
bkuemmer at gmx.net
Tue Feb 12 23:47:35 EET 2008
Hello,
we recently migrated from a postfix system to an Exchange server (don't
ask).
I have been running a large set of imapfilter rules on the postfix
server without problems. Now, on the Exchange server, all queries using
contain_subject() do not seem to return any results
The configuration
results = account.INBOX:contain_subject('***SPAM***')
returns nothing, even though there definitely is a message where the
subject matches.
Matches with contain_from() seem to work.
Any idea what might be the problem here?
Here's the debug output for one run:
==============================================
getting response (4):
* OK Der Microsoft Exchange Server 2003 IMAP4rev1-Server, Version
6.5.7638.1 (XXXX.XXXX.XXXX), steht zur Verfügung.
sending command (4):
1000 NOOP
getting response (4):
1000 OK NOOP completed.
sending command (4):
1001 CAPABILITY
getting response (4):
* CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS
NAMESPACE LITERAL+ UIDPLUS CHILDREN
1001 OK CAPABILITY completed.
sending command (4):
1002 LOGIN "username" *
getting response (4):
1002 OK LOGIN completed.
sending command (4):
1003 NAMESPACE
getting response (4):
* NAMESPACE (("" "/")) NIL (("&ANY-ffentliche Ordner/" "/"))
getting response (4):
1003 OK NAMESPACE completed.
namespace (4): '' '/'
sending command (4):
1004 SELECT "INBOX"
getting response (4):
* 1422 EXISTS
* 0 RECENT
* FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft
$MDNSent)] Permanent flags
getting response (4):
* OK [UNSEEN 9] Is the first unseen message
getting response (4):
* OK [UIDVALIDITY 210] UIDVALIDITY value
getting response (4):
1004 OK [READ-WRITE] SELECT completed.
sending command (4):
1005 UID SEARCH ALL SUBJECT "***SPAM***"
getting response (4):
* SEARCH
getting response (4):
1005 OK SEARCH completed.
sending command (4):
1006 LOGOUT
getting response (4):
* BYE Der Microsoft Exchange Server 2003 IMAP4rev1-Server, Version
6.5.7638.1, meldet sich ab.
More information about the Imapfilter-devel
mailing list