Le 03/10/2002 � 23:31:32 +0200, Mark Crispin <[EMAIL PROTECTED]> �crivait�:
> This strongly suggests that this imap_open is not the same as the c-client
> imap_open() function. Anyway, it looks like the first argument is a
> c-client mailbox name. If so, you are stipulating a proxy open via IMAP.
> Is there some reason why you are doing this, instead of a direct NNTP
> session? That is, why aren't you using
> {localhost/nntp}group
This way, c-client handles a .newsrc file. Without imap proxying, it does
not.
> Anyway, because you are using OP_HALFOPEN, you are just opening an IMAP
> connection without ever doing anything with NNTP.
I'm using imap_getmailboxes / imap_getsubscribed, imap_headerinfo,
imap_fetchbody (all PHP functions), etc. for a web-based newsreader, and
OP_HALFOPEN is working.
> Is there some reason why you are specifying the port number? c-client
> knows the correct port number to you.
Yes, but actually these are parameters...
> Once again, this is only getting you an open IMAP session not open on any
> mailbox, because you are using OP_HALFOPEN.
>
> If you want to specify a user name, the syntax is /user=, as in:
> {localhost/nntp/user=nntpuser}group
OK.
> There is no way to pass a separate NNTP password if you insist upon using
> a separate proxy via IMAP.
I had tried with /authuser=nntppass without success! That's a problem
for me.
> Furthermore, note that the use of an IMAP proxy is a UW imapd (c-client
> imapd) feature, and is not likely to be offered on any other IMAP server.
Thanks for your answers.
--
Th. Thomas.