From owner-freebsd-ports@FreeBSD.ORG Thu Jun 4 11:24:48 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 9FE4410656D5; Thu, 4 Jun 2009 11:24:48 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 45C3C8FC1A; Thu, 4 Jun 2009 11:24:48 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (pD9E2DCA0.dip.t-dialin.net [217.226.220.160]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id D16248445A0; Thu, 4 Jun 2009 13:06:41 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id D8730292466; Thu, 4 Jun 2009 13:06:38 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n54B6cFS047664; Thu, 4 Jun 2009 13:06:38 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 04 Jun 2009 13:06:38 +0200 Message-ID: <20090604130638.17461dkh10lqyhgk@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 04 Jun 2009 13:06:38 +0200 From: Alexander Leidinger To: Ion-Mihai Tetcu References: <4A279C92.4020305@quip.cz> <20090604135318.0178eb66@it.buh.tecnik93.com> In-Reply-To: <20090604135318.0178eb66@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.3.3 / FreeBSD-8.0 X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: D16248445A0.DF6A3 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.209, required 6, autolearn=disabled, ALL_TRUSTED -1.44, TW_LR 0.08, TW_RW 0.08, TW_WX 0.08) X-EBL-MailScanner-From: netchild@freebsd.org X-EBL-MailScanner-Watermark: 1244718403.25858@EodK8/N+28Hpk2JfFcIFJw X-EBL-Spam-Status: No Cc: sahil@tandon.net, Miroslav Lachman <000.fbsd@quip.cz>, freebsd-ports@FreeBSD.org Subject: Re: 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 11:24:49 -0000 Quoting Ion-Mihai Tetcu (from Thu, 4 Jun 2009 13:53:18 +0300): > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > On Thu, 04 Jun 2009 12:06:10 +0200 > Miroslav Lachman <000.fbsd@quip.cz> wrote: > >> 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` > > I got bitten by this also, but I though it was only my lack of > attention. It seems it is creating the .db in the directory where the symlink is pointing to, instead in the directory where the symlink is (I assume the original poster used his previous config without changing the alias stuff). I haven't found something related in the postfix changelog. Concerned people should maybe ask on the postfix ML if this is intended or not. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 For some reason, this fortune reminds everyone of Marvin Zelkowitz.