Why do POP3 connections take so long, but once the connection is established all is well?

In some configurations POP3 needs to generate random data for use by APOP authentications. This can lead to delays if /dev/random does not have enough entropy immediately available.

If you don't need or want support for APOP, you can either compile SASL with --disable-checkapop, or you can disable APOP support in pop3[proxy]d at runtime by setting allowapop:0 in imapd.conf.

Otherwise, since there isn't a strong need for high-quality random numbers with SASL, there are two options for dealing with this -- link /dev/urandom to /dev/random. Alternatively, recompile SASL with --with-devrandom=/dev/urandom. It's prefered to do the later, as it avoids affecting other applications.

-- KenMurchison - 17 Mar 2004

Topic revision: r41 - 21 Sep 2005 - 03:53:33 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback