Date: Sun, 02 Apr 2006 06:22:40 +0200 From: =?ISO-8859-15?Q?Andr=E9_B=F6hm?= <andre@abtime.de> To: freebsd-ports@freebsd.org, cyrus-devel@lists.andrew.cmu.edu Subject: Cyrus-Imapd 2.2.13: deliver dies in murder setup Message-ID: <442F5190.20106@abtime.de>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442F5190.20106>