Disconnect IMAP clients if only few free FDs left (#37) After network connection to DB server goes down the processing of IMAP session stalls: DB connection pool becomes exhausted as active connections do not close till TCP timeout kicks in (true at least for Oracle). While DBMail still accepts incoming connections it quickly reaches the RLIMIT_NOFILE and becomes unresponsive. Send BYE response if the number of opened FDs reaches the RLIMIT_NOFILE value.
simplify log_query_time duration logic
improve crypt authentication also don't segfault when spasswd is empty
DBMail is primarily developed and tested on the GNU Linux and FreeBSD platforms. Users have also reported successfull deployments on OpenSolaris, NetBSD and OSX.
DBMail is released under the GNU Public Licence (version 2).