postfix - fatal: open database /etc/aliases.db: Invalid argument

Remko Lodder remko at elvandar.org
Wed Mar 24 05:03:21 PST 2004


Heya Martin,

Martin Hudec (webmail) wrote:

> Hi,
> 
> thank you :) now it works..
> 
Good :-)

> I always used newaliases as:
> newaliases_path = /usr/bin/newaliases
> 
> to generate aliases.db, as I said on my other FreeBSD 4.x systems I have never
> experienced problems so far.

Do you use postfix there? and use the aliases db?

> 
> I used postmap hash:aliases, it complained for : signs, so I removed them.
> 
> Should also I change that newaliases symlink to /usr/local/sbin/postmap (now
> it is linked to /usr/sbin/mailwrapper)?

i have:

#alias_maps = hash:/etc/aliases
# The alias_database parameter specifies the alias database(s) that
# are built with "newaliases" or "sendmail -bi".  This is a separate
# configuration parameter, because alias_maps (see above) may specify
#alias_database = hash:/etc/aliases
# newaliases_path: The full pathname of the Postfix newaliases command.
# This is the Sendmail-compatible command to build alias databases.
newaliases_path = /usr/local/bin/newaliases
--
So you should use that one... and/or alias the current one to the one in 
/usr/local/bin ...

Hope this helps,

Cheers!

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene



More information about the freebsd-questions mailing list