From owner-freebsd-questions Tue Jun 19 22:52:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.halplant.com (24-168-203-47.wo.cox.rr.com [24.168.203.47]) by hub.freebsd.org (Postfix) with ESMTP id 75FE137B401 for ; Tue, 19 Jun 2001 22:52:25 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id 8E26B2176; Wed, 20 Jun 2001 01:52:14 -0400 (EDT) Date: Wed, 20 Jun 2001 01:52:14 -0400 From: Andrew J Caines To: FreeBSD Questions Subject: Re: Postfix: cannot find /etc/aliases.db Message-ID: <20010620015214.A66604@hal9000.servehttp.com> Reply-To: Andrew J Caines Mail-Followup-To: FreeBSD Questions References: <001601c0f5b9$bb12a4d0$0101a8c0@chillipepper> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001601c0f5b9$bb12a4d0$0101a8c0@chillipepper>; from herveyw@dynamic-cast.com on Fri, Jun 15, 2001 at 09:39:21AM -0700 Organization: H.A.L. Plant X-Powered-by: FreeBSD 4.3-STABLE X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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