471,616 Members | 1,959 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 software developers and data experts.

imap_open and norsh flag

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
2 3318
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
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.

Similar topics

2 posts views Thread by James Turnbull | last post: by
reply views Thread by Jaysheel Mehd | last post: by
2 posts views Thread by Rodney Pont | last post: by
reply views Thread by Dennis Biletsky | last post: by
reply views Thread by oliversl | last post: by
reply views Thread by R. Pelizzi | last post: by
4 posts views Thread by qccitchy | last post: by
1 post views Thread by Eric | last post: by
1 post views Thread by XIAOLAOHU | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.