note 31497 deleted from function.imap-open by cmb
| From: | cmb@php.net | Date: | Sun, 18 Aug 2019 08:40:26 +0000 |
| Subject: | note 31497 deleted from function.imap-open by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211936@lists.php.net to get a copy of this message | ||
Note Submitter: bill dot mccoy at pictureiq dot com
----
"notls" seems to be required for PHP on RedHat 8.0, but it seems that "/norsh"
is also advisable; without it, the client library will attempt an RSH connection and wait for this
to timeout before reverting to normal IMAP. This was causing a 15 second delay in imap_open for me.
Looking at the client lib C code this will likely be an issue on other platforms as well as they
update to the newer version. You can use both "/notls" and "/norsh", e.g. the
first parameter to imap_open can be something like: "{your.imap.host/imap/notls/norsh}".