[imapfilter-devel] Double-quote in query string?

David DeSimone fox at verio.net
Sat Aug 28 02:35:37 EEST 2004


I was trying to create a query like this:

    query =
    {
	'seen',
	'sentbefore ' .. date_before(7),
	'subject "[unix-admin] Output from \"cron\" command"',
    }

Notice the mail subject has literal "quote" characters that I want to
match.

Imapfilter silently produces no results.

When run in verbose mode, this error becomes apparent:

    C (3): 1003 UID SEARCH ALL (seen) (sentbefore 20-Aug-2004)
	(subject "[unix-admin] Output from "cron" command")
    S (3): 1003 BAD Missing required close paren in Search command

The quote characters are messing up the syntax.

Doesn't IMAP protocol allow for this character to be sent?  What can be
done to fix this problem?

-- 
David DeSimone || Network Admin || fox at verio.net
  "It took me fifteen years to discover that I had no
   talent for writing, but I couldn't give it up because
   by that time I was too famous.  -- Robert Benchley




More information about the Imapfilter-devel mailing list