| 1 |
Why do POP3 connections take so long, but once the connection is established all is well? |
| 2 |
----------------------------------------------------------------------------------------- |
| 3 |
|
| 4 |
In some configurations POP3 needs to generate random data for use by |
| 5 |
APOP authentications. This can lead to delays if ``/dev/random`` does |
| 6 |
not have enough entropy immediately available. |
| 7 |
|
| 8 |
If you don't need or want support for APOP, you can either compile SASL |
| 9 |
with ``--disable-checkapop``, or you can disable APOP support in |
| 10 |
pop3[proxy]d at runtime by setting ``allowapop:0`` in :cyrusman:`imapd.conf(5)`. |
| 11 |
|
| 12 |
Otherwise, since there isn't a strong need for high-quality random |
| 13 |
numbers with SASL, there are two options for dealing with this -- link |
| 14 |
/dev/urandom to /dev/random. Alternatively, recompile SASL with |
| 15 |
``--with-devrandom=/dev/urandom``. It's preferred to do the latter, as it |
| 16 |
avoids affecting other applications. |
| 17 |
|