From owner-freebsd-questions@FreeBSD.ORG Wed Mar 24 05:03:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9827B16A4CE for ; Wed, 24 Mar 2004 05:03:21 -0800 (PST) Received: from mail.evilcoder.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DDF543D5E for ; Wed, 24 Mar 2004 05:03:21 -0800 (PST) (envelope-from remko@elvandar.org) Message-ID: <40618716.80808@elvandar.org> Date: Wed, 24 Mar 2004 14:03:18 +0100 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org References: <20040324111547.M49899@aeternal.net> <40617B43.3000504@elvandar.org> <20040324121814.M82008@aeternal.net> <40617FE9.4080803@elvandar.org> <20040324124821.M18743@aeternal.net> In-Reply-To: <20040324124821.M18743@aeternal.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: for evilcoder.org Subject: Re: postfix - fatal: open database /etc/aliases.db: Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 13:03:21 -0000 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