[Bug 219494] cyrus-imapd24-2.4.19 local mail delivery failure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 24 06:52:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219494

            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 at FreeBSD.org
          Reporter: truckman at FreeBSD.org

Created attachment 182851
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182851&action=edit
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 supported
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=archive.info-cyrus&msg=57376>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list