Skip to content

SEARCH HEADER with quotes fails for iCloud #775

@Jivings

Description

@Jivings

It appears that any SEARCH HEADER command is failing against iCloud mailboxes due to the quote marks.

For example making the following query;

const query = [
  'ALL',
  ['SINCE', '9-Aug-2019']
  ['HEADER', 'FROM', 'james@squarecat.io']
];
client.search(query, (err, uuids) => {});

Debug tells me that this is the command performed;

UID SEARCH ALL SINCE 9-Aug-2019 HEADER "FROM" "james@squarecat.io"

Which results in a parse error.

If I do the same command using telnet then I get the same response;

Screen Shot 2019-08-09 at 15 51 06

However the same query without the quotes works great;

Screen Shot 2019-08-09 at 15 51 29

So it seems iCloud is falling over the quotes.

This works fine against all other servers I've tried, so perhaps iCloud specific.

Is there a way to get the command to run?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions