From owner-freebsd-ports@FreeBSD.ORG Wed Jan 7 01:51:02 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E66E3106564A for ; Wed, 7 Jan 2009 01:51:02 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from srv.twinthornes.com (srv.twinthornes.com [65.75.198.146]) by mx1.freebsd.org (Postfix) with ESMTP id C29478FC13 for ; Wed, 7 Jan 2009 01:51:02 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from [10.9.70.102] (c-76-27-226-62.hsd1.or.comcast.net [76.27.226.62]) by srv.twinthornes.com (Postfix) with ESMTPSA id 2405D24C6A; Tue, 6 Jan 2009 17:51:02 -0800 (PST) Message-ID: <49640A8A.70001@bitfreak.org> Date: Tue, 06 Jan 2009 17:51:06 -0800 From: Darren Pilgrim User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: d@delphij.net References: <4944EC3F.5080708@bitfreak.org> <496298A0.9030905@delphij.net> In-Reply-To: <496298A0.9030905@delphij.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, postfix-users@postfix.org Subject: Re: Source-upgrading FreeBSD "breaks" postfix+dovecot? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 01:51:03 -0000 Xin LI wrote: > Darren Pilgrim wrote: >> Tonight I source-upgraded a FreeBSD system from i386 6.3p5 to i386 >> 6.4-R. I have postfix 2.5.5 and dovecot 1.1.7 installed with postfix >> using dovecot for SASL and dovecot LDA for mailbox delivery. After >> installing 6.4-R, postfix refused to work until I recompiled and >> reinstalled both it and dovecot. Dovecot itself (i.e., the IMAP server) >> worked fine. Postfix worked fine if I set smtpd_sasl_auth_enable=no and >> defer_transports=dovecot, effectively preventing postfix from using any >> dovecot bits. Examples of the logged errors: >> >> Before reinstalling anything: >> >> postfix/pipe[36617]: fatal: get_service_attr: unknown group: vmail > > Sounds like that you have did something really bad during mergemaster? > (i.e. installed /etc/group without actually doing merge) and in turn the > group gets removed... The only change to /etc/group was the CVS ID tag. Group resolution worked for other programs--ls showed "vmail" rather than the numeric gid, chown worked with :vmail, etc. I verified libraries matched with another 6.4-R system. I power cycled the system thinking there may have been stale libraries or some mysterious form of cache corruption in memory; however, the problem persisted. The problem didn't go away until I rebuilt the ports.