Date: Wed, 24 May 2017 06:52:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219494] cyrus-imapd24-2.4.19 local mail delivery failure Message-ID: <bug-219494-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219494 Bug ID: 219494 Summary: cyrus-imapd24-2.4.19 local mail delivery failure Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: truckman@FreeBSD.org Created attachment 182851 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182851&action= =3Dedit patch to fix local mail delivery problem in cyrus-imapd24-2.4.19 When attempting local mail delivery, lmptd in cyrus-imapd24-2.4.19 logs this error to /var/log/messages: lmtpunix[23085]: getaddrinfo(<binary garbage>) failed: servname not suppo= rted for ai_socktype and returns this error to the MTA over the lmtp socket: 451 4.4.3 Remote server unavailable The problem is that when doing delivery to a local mailbox, mlookup() does = not set *server to NULL, which causes deliver() to think it is doing a proxy delivery and attempt to use the uninitialized server pointer as the server name. The attached patch restores a line of code deleted from mlookup() between 2.4.18 and 2.4.19 that sets *server to NULL at the top of the function. A fix for this problem is being discussed upstream, but the user who first reported this bug had success with this patch. <http://asg.andrew.cmu.edu/archive/message.php?mailbox=3Darchive.info-cyrus= &msg=3D57376> --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219494-13>