Date: Wed, 9 Mar 2005 15:33:03 -0500 From: Bart Silverstrim <bsilver@chrononomicon.com> To: Paul Schmehl <pauls@utdallas.edu> Cc: freebsd-questions Questions <freebsd-questions@freebsd.org> Subject: Re: postfix on FreeBSD Message-ID: <6ed708fbddc7a66221402edfaa098911@chrononomicon.com> In-Reply-To: <EB44D0E01F096C02B696376F@utd49554.utdallas.edu> References: <a3a41bf2be38045b61441aaed6309228@chrononomicon.com> <EB44D0E01F096C02B696376F@utd49554.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 9, 2005, at 10:56 AM, Paul Schmehl wrote: > --On Wednesday, March 09, 2005 10:43:05 AM -0500 Bart Silverstrim > <bsilver@chrononomicon.com> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ed708fbddc7a66221402edfaa098911>