telnet to the IMAP server in question on its IMAP port

ex:

telnet mail.mydomain.com 143

It will return some info, example:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THRE
AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready.
Copyr
ight 1998-2008 Double Precision, Inc.  See COPYING for distribution
information.

then ask for its capabilities:

A1 CAPABILITY

If it returns this:

* CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=
EFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
A1 OK CAPABILITY completed

(look for IDLE in the above)

Now, you must login to the IMAP server to see it if supports searches, or
specifically look up to see if your imap server supports searches.

Here's the RFC (RFC-5182)

http://tools.ietf.org/html/rfc5182


2.2.   Examples

   1) The following example demonstrates how the client can use the
      result of a SEARCH command to FETCH headers of interesting
      messages:

   Example 1:
            C: A282 SEARCH RETURN (SAVE) FLAGGED SINCE 1-Feb-1994
                NOT FROM "Smith"
            S: A282 OK SEARCH completed, result saved
            C: A283 FETCH $ (UID INTERNALDATE FLAGS RFC822
<http://tools.ietf.org/html/rfc822>.HEADER)
            S: * 2 FETCH (UID 14 ...
            S: * 84 FETCH (UID 100 ...
            S: * 882 FETCH (UID 1115 ...
            S: A283 OK completed

   The client can also pipeline the two commands:

   Example 2:
            C: A282 SEARCH RETURN (SAVE) FLAGGED SINCE 1-Feb-1994
                NOT FROM "Smith"
            C: A283 FETCH $ (UID INTERNALDATE FLAGS RFC822
<http://tools.ietf.org/html/rfc822>.HEADER)
            S: A282 OK SEARCH completed
            S: * 2 FETCH (UID 14 ...
            S: * 84 FETCH (UID 100 ...
            S: * 882 FETCH (UID 1115 ...
            S: A283 OK completed


But, if you don;t get IDLE in Step 1, no point in trying to determine point
2.

On Mon, Apr 19, 2010 at 5:53 PM, Tony Graziano <[email protected]
> wrote:

> I think a wiki page would be more fruitful if it gives you the commands to
> determine if your server/provider supports IDLE and SEARCHES. The server
> might be compatible but the function may not be enabled.
>
> Teach me to fish, don't feed me.
> ============================
> Tony Graziano, Manager
> Telephone: 434.984.8430
> Fax: 434.984.8431
>
> Email: [email protected]
>
> LAN/Telephony/Security and Control Systems Helpdesk:
> Telephone: 434.984.8426
> Fax: 434.984.8427
>
> Helpdesk Contract Customers:
> http://www.myitdepartment.net/gethelp/
>
> ----- Original Message -----
> From: [email protected]
> <[email protected]>
> Cc: [email protected] <[email protected]>
> Sent: Mon Apr 19 17:09:14 2010
> Subject: Re: [sipx-users] IMAP Integration
>
> So can Cyrus version 2.3.x
>
> Josh Patten
> Assistant Network Administrator
> Brazos County IT Dept.
> (979) 361-4676
>
>
> On 4/19/2010 4:07 PM, Pizza Napoletana wrote:
> > We have been using it with dovecot. No issues.
> > I don't know if there is a wiki page that lists IMAP servers that are
> > known to work well / not well. If there is, dovecot can be added to the
> > good list.
> >
> > On Apr 19, 2010, at 1:11 PM, Josh Patten wrote:
> >
> >
> >> What IMAP server are you using? Your IMAP server must support IDLE, and
> >> searches within headers. Two IMAP servers that are known NOT to work are
> >> GroupWise and legacy Cyrus versions (2.2.x and older). I know because I
> >> tested both.
> >>
> >> Josh Patten
> >> Assistant Network Administrator
> >> Brazos County IT Dept.
> >> (979) 361-4676
> >>
> >>
> >> On 4/19/2010 3:05 PM, Abdul Mayat wrote:
> >>
> >>> Content-Type: text/plain;
> >>>    charset="utf-8"
> >>> Content-Transfer-Encoding: 8bit
> >>> Organization: SipXecs Forum
> >>> X-FUDforum: 08063afcdd00a6e76393c5b9527381e8<44968>
> >>> Message-ID:<[email protected]>
> >>>
> >>>
> >>>
> >>> Has anybody managed to get the IMAP integration working for
> >>> email.  Appreciate if anybody can point me in the direction
> >>> of a link to some instructions or provide some details of
> >>> what level of integration has been achieved.
> >>>
> >>> Many Thanks
> >>> Abdul
> >>>
> >>> _______________________________________________
> >>> sipx-users mailing list [email protected]
> >>> List Archive: http://list.sipfoundry.org/archive/sipx-users
> >>> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
> >>> sipXecs IP PBX -- http://www.sipfoundry.org/
> >>>
> >>>
> >> _______________________________________________
> >> sipx-users mailing list [email protected]
> >> List Archive: http://list.sipfoundry.org/archive/sipx-users
> >> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
> >> sipXecs IP PBX -- http://www.sipfoundry.org/
> >>
> >
> _______________________________________________
> sipx-users mailing list [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
> sipXecs IP PBX -- http://www.sipfoundry.org/
>



-- 
======================
Tony Graziano, Manager
Telephone: 434.984.8430
Fax: 434.984.8431

Email: [email protected]

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
Fax: 434.984.8427

Helpdesk Contract Customers:
http://www.myitdepartment.net/gethelp/

Why do mathematicians always confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.
_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to