From owner-freebsd-ports@FreeBSD.ORG Thu Jun 4 10:06:14 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4D521065672 for ; Thu, 4 Jun 2009 10:06:14 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8616E8FC15 for ; Thu, 4 Jun 2009 10:06:14 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4393D19E044 for ; Thu, 4 Jun 2009 12:06:11 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 0E6C319E043 for ; Thu, 4 Jun 2009 12:06:09 +0200 (CEST) Message-ID: <4A279C92.4020305@quip.cz> Date: Thu, 04 Jun 2009 12:06:10 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: has Postfix new location of aliases.db? 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: Thu, 04 Jun 2009 10:06:15 -0000 Was something changed in Postfix defaults? After upgrade from postfix-2.5.6,1 to postfix-2.6.1,1 and restart of postfix, I got following error in /var/log/maillog fatal: open database /etc/mail/aliases.db: No such file or directory All previous versions were using /etc/aliases.db, new version expect /etc/mail/aliases.db newaliases command re-generate aliases.db in the new location. root@fido ~/# ls -al /etc/aliases* lrwxr-xr-x 1 root wheel 12B Feb 24 2008 /etc/aliases@ -> mail/aliases -rw-r--r-- 1 root wheel 12K Jan 20 11:30 /etc/aliases.db root@fido ~/# ls -al /etc/mail/aliases* -rw-r--r-- 1 root wheel 1.7K Oct 22 2008 /etc/mail/aliases root@fido ~/# newaliases root@fido ~/# ls -al /etc/mail/aliases* -rw-r--r-- 1 root wheel 1.7K Oct 22 2008 /etc/mail/aliases -rw-r--r-- 1 root wheel 12K Jun 4 11:39 /etc/mail/aliases.db If this is expected behavior, this should be mentioned in UPDATING. machine details: FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 fresh ports tree updated by `portsnap fetch update`, postfix upgraded by `portmaster postfix-2.5.6,1` Miroslav Lachman