Date: Fri, 5 Jun 2009 06:12:07 -0400 From: Sahil Tandon <sahil@tandon.net> To: Ion-Mihai Tetcu <itetcu@FreeBSD.org> Cc: Alexander Leidinger <netchild@FreeBSD.org>, Miroslav Lachman <000.fbsd@quip.cz>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: has Postfix new location of aliases.db? Message-ID: <43F6F18A-403F-4001-807E-07C6102DEB83@tandon.net> In-Reply-To: <20090605101218.065861db@it.buh.tecnik93.com> References: <4A279C92.4020305@quip.cz> <20090604135318.0178eb66@it.buh.tecnik93.com> <20090604130638.17461dkh10lqyhgk@webmail.leidinger.net> <4A27B1FC.6030904@quip.cz> <20090605042500.GA7167@tandon.net> <20090605101218.065861db@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 5, 2009, at 3:12 AM, Ion-Mihai Tetcu <itetcu@FreeBSD.org> wrote: > On Fri, 5 Jun 2009 00:25:01 -0400 > Sahil Tandon <sahil@tandon.net> wrote: > >> On Thu, 04 Jun 2009, Miroslav Lachman wrote: >> >> [...] >> >>> As you can see, file /etc/mail/aliases was modified (target of >>> symlink) and then aliases.db was generated by `newaliases` command >>> as /etc/aliases.db >>> >>> Above is with postfix-2.5.6,1 on FreeBSD 7.2-RELEASE #0: Fri May >>> 1 08:49:13 UTC 2009 GENERIC i386 >>> >>> This is with new postfix-2.6.1,1: >>> # postconf -d | grep aliases >>> alias_database =3D hash:/etc/mail/aliases >>> alias_maps =3D hash:/etc/mail/aliases >> >> This was introduced with ports/134728, in which ALIAS_DB_MAP is >> compiled in as hash:/etc/mail/aliases. I've rolled this back to the >> default value, which is system-dependent and chosen by >> ${WRKSRC}/src/util/sys_defs.h, which in turn relies on the >> ${WRKSRC}/makedefs script. >> >>> newaliases_path =3D /usr/local/bin/newaliases >> >> This is intentional and a good thing. In mail/postfix prior to >> 2.6.x, the change was made in main.cf instead of being compiled in as >> a default; this is why you do not see it when viewing the *default* >> postconf output in 2.5.x; try postconf newaliases_path (i.e. without >> the -d flag). >> >>> And this is with older postfix-2.5.6,1: >>> # postconf -d | grep aliases >>> alias_database =3D hash:/etc/aliases >>> alias_maps =3D hash:/etc/aliases >>> >>> There is definitely incompatible change in defaults :o( >> >> Indeed. The attached patch (also filed as ports/135273) updates >> Postfix to 2.6.2 and makes the aforementioned changes. > > Committed. > >> As a result, I don't think we need to touch ports/UPDATING. > > Oh yes, it's needed and committed. People that upgraded to 2.6.1 will > run into the same problem again ;-) > > It's always better to be verbose rather that sparse. > And it's even better not to violate POLA. Touch=C3=A9. Shame on myopic me. :) -- Sahil Tandon=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43F6F18A-403F-4001-807E-07C6102DEB83>