Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 01:52:14 -0400
From:      Andrew J Caines <A.J.Caines@altavista.net>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Postfix: cannot find /etc/aliases.db
Message-ID:  <20010620015214.A66604@hal9000.servehttp.com>
In-Reply-To: <001601c0f5b9$bb12a4d0$0101a8c0@chillipepper>; from herveyw@dynamic-cast.com on Fri, Jun 15, 2001 at 09:39:21AM -0700
References:  <001601c0f5b9$bb12a4d0$0101a8c0@chillipepper>

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

Please wrap your messages before eighty columns.

> When receiving mail, postfix complains that it cannot open
> /etc/aliases.db. I modifed the main.cf file and set $aliases_database to
> point to /etc/mail/aliases.db but postfix still complained about
> /etc/aliases.db.

In your main.cf, you should probably have two lines like this:

alias_maps = hash:/etc/mail/aliases
alias_database = hash:/etc/mail/aliases

To update the database after you have changed the aliases file, run

# postalias /etc/mail/aliases

and your /etc/mail/aliases.db will be updated with the new aliases.

If you are more familiar with sendmail, then this is the equivalent of
running "newaliases".


-Andrew-
-- 
 _______________________________________________________________________
| -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@altavista.net |

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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