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

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

well newaliases in /usr/local/bin is alias for /usr/local/sbin/sendmail :).

pleiades# ll /usr/local/bin/ | grep newaliases
lrwxr-xr-x  1 root  wheel       32 Mar 24 11:33 newaliases -> ../../../usr/local/sbin/sendmail

and for those FreeBSD 4.x systems, yes I use postfix with aliases db as shown here:

uname -a:

FreeBSD amber.aeternal.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Mar 20 21:30:02 CET 2004     
corwin@amber.aeternal.net:/usr/obj/usr/src/sys/AMBER  i386

postconf | grep aliases:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
newaliases_path = /usr/bin/newaliases

And all is working.. 
but postfix is version 2.0.18 and not 2.0.19 as on my current 5.2.1 machine.

Thank you very much for your help :)


On Wed, Mar 24, 2004 at 02:03:18PM +0100, Remko Lodder (remko@elvandar.org) wrote:
> Do you use postfix there? and use the aliases db?
>
> 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 ...
> 

-- 
=--
:
:. kind regards
:..		Martin Hudec
:.:
:.:	:m: +421.907.303393
:.:	:@: corwin@aeternal.net
:.:	:w: http://www.aeternal.net



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