From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 20:33:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A01916A4CE for ; Wed, 9 Mar 2005 20:33:05 +0000 (GMT) Received: from trans-warp.net (hyperion.trans-warp.net [216.37.208.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3D6D43D31 for ; Wed, 9 Mar 2005 20:33:03 +0000 (GMT) (envelope-from bsilver@chrononomicon.com) Received: from [127.0.0.1] (unverified [65.193.73.208]) by trans-warp.net (SurgeMail 2.2g3) with ESMTP id 454 for multiple; Wed, 09 Mar 2005 15:32:55 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6ed708fbddc7a66221402edfaa098911@chrononomicon.com> Content-Transfer-Encoding: 7bit From: Bart Silverstrim Date: Wed, 9 Mar 2005 15:33:03 -0500 To: Paul Schmehl X-Mailer: Apple Mail (2.619.2) X-Server: High Performance Mail Server - http://surgemail.com X-Authenticated-User: bsilver@chrononomicon.com cc: freebsd-questions Questions Subject: Re: postfix on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 20:33:05 -0000 On Mar 9, 2005, at 10:56 AM, Paul Schmehl wrote: > --On Wednesday, March 09, 2005 10:43:05 AM -0500 Bart Silverstrim > wrote: >> >> I then ran the commands >> postmap /usr/local/etc/postfix/access > > Should be: > postmap hash:/usr/local/etc/postfix/access > > man (1) postmap I was running the command as was outlined in the access file...from that file, it says: # /usr/local/etc/postfix/main.cf: # smtpd_client_restrictions = # check_client_access hash:/usr/local/etc/postfix/access # # /usr/local/etc/postfix/access: # 1.2.3 REJECT # 1.2.3.4 OK # # Execute the command "postmap /usr/local/etc/postfix/access" after # editing the file. I think I know what was happening...the main.cf file didn't have the smtpd_recipient_restrictions directive in it, and postfix used reasonable defaults. When I set smtpd_recipient_restrictions, it overrode the defaults, and was complaining because it wanted some reasonable settings placed in there along with my customized settings. So my actual line to put in would be something like, smtpd_recipient_restrictions = check_recipient_access hash:/usr/local/etc/postfix/access, permit_mynetworks, reject_unauth_destination in main.cf, correct?