has Postfix new location of aliases.db?

Ion-Mihai Tetcu itetcu at FreeBSD.org
Thu Jun 4 10:52:52 UTC 2009


On Thu, 04 Jun 2009 12:06:10 +0200
Miroslav Lachman <000.fbsd at 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 at 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 at fido ~/# ls -al /etc/mail/aliases*
> -rw-r--r--  1 root  wheel   1.7K Oct 22  2008 /etc/mail/aliases
> 
> root at fido ~/# newaliases
> 
> root at 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 at 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.

In the future, please CC the maintainer of the port, it will get faster
response time.

-- 
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/20090604/19c79753/signature.pgp


More information about the freebsd-ports mailing list