has Postfix new location of aliases.db?
Ion-Mihai Tetcu
itetcu at FreeBSD.org
Fri Jun 5 07:11:52 UTC 2009
On Fri, 5 Jun 2009 00:25:01 -0400
Sahil Tandon <sahil at 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 = hash:/etc/mail/aliases
> > alias_maps = 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 = /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 = hash:/etc/aliases
> > alias_maps = 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.
--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090605/0f601641/signature.pgp
More information about the freebsd-ports
mailing list