Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 13:32:41 +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:  <40617FE9.4080803@elvandar.org>
In-Reply-To: <20040324121814.M82008@aeternal.net>
References:  <20040324111547.M49899@aeternal.net> <40617B43.3000504@elvandar.org> <20040324121814.M82008@aeternal.net>

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

Martin Hudec (webmail) wrote:

> Hi Remko,
> 
> i tried that too.. but no success :(.
> -rw-r--r--  1 root  wheel  65536 Mar 24 12:25 aliases.db
> 
> anyway thanks :)
> Martin
> 
I think i found the issue:

Mar 24 12:25:19 pleiades sendmail[7597]: alias database /etc/mail/aliases
rebuilt by corwin
Mar 24 12:25:19 pleiades sendmail[7597]: /etc/mail/aliases: 25 aliases,
longest 10 bytes, 256 bytes total
Mar 24 12:25:22 pleiades postfix/postfix-script: starting the Postfix 
mail system
Mar 24 12:25:22 pleiades postfix/master[7643]: daemon started -- version 
2.0.19
Mar 24 12:25:32 pleiades postfix/smtpd[7648]: fatal: open database
/etc/aliases.db: Invalid argument

U use newaliases in the sendmail package to re-generate the database 
{right?}.

To my best knowledge postfix uses postmap... /usr/local/sbin/postmap (or 
whereever your postmap command is located) /path/to/aliases, perhaps it 
can open it after that action...

-- 
--

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?40617FE9.4080803>