Thanks Mark,

I think the server knows the mailbox changed.   The way I checked was 
to establish a session using telnet. Send mail to the
account in question.  Send NOOPs every minutes or so.  Then when I was 
pretty sure the mail must have arrived
I established a 2nd telnet session and saw the updated EXISTS number 
when I issued EXAMINE INBOX.

I'm writing a program to monitor mail and the user/tester said it never 
indicates he has new mail although his mailer
(OS X Mail) sees it.

When you say "should get and EXISTS response with "any" command..." is 
that "SHOULD" or "MAY" or "MUST".

        brian


On Friday, September 20, 2002, at 02:28 AM, Mark Crispin wrote:

> On Fri, 20 Sep 2002 01:51:15 -0400, ber wrote:
>> If I'm polling a server with NOOPs should I expect an EXISTS response
>> to be issued when the mailbox (INBOX)
>> changes (e.g. new mail?)
>
> You should get an EXISTS response with *any* command if the mailbox 
> changes.
> If you don't get an EXISTS response from a command, then the server 
> doesn't
> think that the mailbox has changed since the previous command.
>
> The reason why NOOP is used to poll is if you don't want to do 
> anything else
> other than poll.
>
> The imapd that you are talking to is probably UW imapd.
>
>
>

Reply via email to