Date: Fri, 5 Jun 2009 10:12:18 +0300 From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: freebsd-ports@freebsd.org Cc: Leidinger <netchild@FreeBSD.org>, Miroslav Lachman <000.fbsd@quip.cz>, sahil@tandon.net, Alexander Subject: Re: has Postfix new location of aliases.db? Message-ID: <20090605101218.065861db@it.buh.tecnik93.com> In-Reply-To: <20090605042500.GA7167@tandon.net> References: <4A279C92.4020305@quip.cz> <20090604135318.0178eb66@it.buh.tecnik93.com> <20090604130638.17461dkh10lqyhgk@webmail.leidinger.net> <4A27B1FC.6030904@quip.cz> <20090605042500.GA7167@tandon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/UdBZIjUEGmyBzTal2J9a.Aj Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 5 Jun 2009 00:25:01 -0400 Sahil Tandon <sahil@tandon.net> wrote: > On Thu, 04 Jun 2009, Miroslav Lachman wrote: >=20 > [...] >=20 > > 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 >=20 > 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. >=20 > > newaliases_path =3D /usr/local/bin/newaliases >=20 > 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). >=20 > > 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( >=20 > Indeed. The attached patch (also filed as ports/135273) updates > Postfix to 2.6.2 and makes the aforementioned changes.=20 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. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/UdBZIjUEGmyBzTal2J9a.Aj Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkooxVIACgkQJ7GIuiH/oeUGjgCgmAYfcUYbGbigQXx7owtvxZHb F9MAoJizWbrMdc+GAE9fNhM+VV51y/eS =uTs6 -----END PGP SIGNATURE----- --Sig_/UdBZIjUEGmyBzTal2J9a.Aj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090605101218.065861db>