Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 14:03:18 +0100
From:      Remko Lodder <remko@elvandar.org>
Cc:        freebsd-questions@freebsd.org
Subject:    Re: postfix - fatal: open database /etc/aliases.db: Invalid argument
Message-ID:  <40618716.80808@elvandar.org>
In-Reply-To: <20040324124821.M18743@aeternal.net>
References:  <20040324111547.M49899@aeternal.net> <40617B43.3000504@elvandar.org> <20040324121814.M82008@aeternal.net> <40617FE9.4080803@elvandar.org> <20040324124821.M18743@aeternal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40618716.80808>