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

Martin Hudec corwin at aeternal.net
Thu Mar 25 07:55:55 PST 2004


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 at 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 at 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 at aeternal.net
:.:	:w: http://www.aeternal.net



More information about the freebsd-questions mailing list