By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,588 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,588 IT Pros & Developers. It's quick & easy.

imap_open and norsh flag

P: n/a
I'm attempting to connect to Cyrus IMAP server using imap_open()
function. The connection is sucessfull, however there is a delay and
warning message about "rsh failure". I added /norsh flag to connection
string, but it seems to be ignored. The call to imap_open() currently
looks something like this:

imap_open("{cyrus.google.com}/tls/novalidate-cert/norsh/service=imap/user=cadm",
"cadm", "secret", OP_HALFOPEN);

As I said, it works. However there is annoying delay of aprox. 10-15
seconds, and this warnning message generated by PHP interpreter:

PHP Notice: (null)(): rsh to IMAP server timed out (errflg=1) in
Unknown on line 0

Shouldn't "/norsh" take care of that?

I'm using RPM packages as distributed with RHEL4:

php-4.3.9-3.6
php-imap-4.3.9-3.6
libc-client-2002e-8

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ah, was my mistake. The connect string should be:

"{cyrus.google.com/tls/novalidate-cert/norsh/service=imap/user=cadm}"

And of course, now everthing works as expected. I guess I should have
taken that extra coffe before I sent my question to the group :-)

Jul 17 '05 #2

P: n/a
Ah, was my mistake. The connect string should be:

"{cyrus.google.com/tls/novalidate-cert/norsh/service=imap/user=cadm}"

And of course, now everthing works as expected. I guess I should have
taken that extra coffe before I sent my question to the group :-)

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.