Skip site navigation (1)Skip section navigation (2)
Date:      15 Jun 2001 14:56:17 -0400
From:      Vivek Khera <khera@kcilink.com>
To:        questions@freebsd.org
Subject:   Re: Postfix: cannot find /etc/aliases.db
Message-ID:  <x7n179vage.fsf@onceler.kciLink.com>
In-Reply-To: <001601c0f5b9$bb12a4d0$0101a8c0@chillipepper>
References:  <001601c0f5b9$bb12a4d0$0101a8c0@chillipepper>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "HW" == Hervey Wilson <herveyw@dynamic-cast.com> writes:

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

probably because the parameter is "alias_database", and that's only
used for telling newaliases which file to write.  the "alias_maps"
parameter tells it where to look for alias expansions.  You probably
want something like this:

alias_database = hash:$config_directory/aliases
alias_maps = hash:$config_directory/aliases

I personally prefer to put my aliases together with postfix' other
files, in /usr/local/etc/postfix, which is what $config_directory
expands to.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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?x7n179vage.fsf>