Cyrus-Imapd 2.2.13: deliver dies in murder setup

André Böhm andre at abtime.de
Sun Apr 2 04:22:43 UTC 2006


Dear lists,

I am running Cyrus IMAP in a "murder" setup on several FreeBSD servers 
from 4.11 to 6.0.

After upgrading to 2.2.13 "deliver" died silently (more or less) or 
dumped core.

I found the attached patch solved the problem for me, which I slightly 
modified from an attachment of 
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2786

Hope, it is useful to some of you.

Regards,
André Böhm



File: /usr/ports/cyrus-imapd22/files/patch-imap::backend.c

--- imap/backend.c.orig      Sun Apr  2 05:49:50 2006
+++ imap/backend.c   Sun Apr  2 05:50:00 2006
@@ -271,7 +271,7 @@
      /* need to (re)establish connection to server or create one */
      int sock = -1;
      int r;
-    int err = 0;
+    int err = -1;
      struct addrinfo hints, *res0 = NULL, *res1 = NULL, *res;
      struct sockaddr_un sunsock;
      char buf[2048], *mechlist = NULL;



More information about the freebsd-ports mailing list