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

Remko Lodder remko at elvandar.org
Wed Mar 24 04:32:45 PST 2004


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



More information about the freebsd-questions mailing list