[Dovecot] MANAGESIEVE patch v2
John Peacock
jpeacock at rowman.com
Fri Sep 1 00:54:20 EEST 2006
Stephan Bosch wrote:
> Dispite the heat out here, I managed to come up with a new version of
> the managesieve patch for dovecot-1.0rc2:
To get this patch to compile (and apparently work) with RC7, the following patch
must be applied:
Index: src/managesieve-login/client.c
===================================================================
--- src/managesieve-login/client.c (revision 2)
+++ src/managesieve-login/client.c (working copy)
@@ -350,7 +350,7 @@
client_unref(client);
}
-static void client_destroy_oldest(void)
+void client_destroy_oldest(void)
{
struct hash_iterate_context *iter;
void *key, *value;
@@ -403,8 +403,8 @@
struct managesieve_client *client;
const char *addr;
- if (max_logging_users > CLIENT_DESTROY_OLDEST_COUNT &&
- hash_size(clients) >= max_logging_users) {
+ if (max_connections > CLIENT_DESTROY_OLDEST_COUNT &&
+ hash_size(clients) >= max_connections) {
/* reached max. users count, kill few of the
oldest connections */
client_destroy_oldest();
I'm having problems with lda-sieve and RC7, but I hope to get that worked out by
next week (because I want to install and run RC7).
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
More information about the dovecot
mailing list