From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 11:13:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E687106566B for ; Mon, 8 Sep 2008 11:13:05 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3094D8FC23 for ; Mon, 8 Sep 2008 11:13:05 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1007) id 94DF11CC5B; Mon, 8 Sep 2008 04:37:03 -0700 (PDT) To: Sahil Tandon , freebsd-questions@freebsd.org Content-Disposition: inline From: David Southwell Organization: Voice and Vision Date: Mon, 8 Sep 2008 04:37:03 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200809080437.03339.david@vizion2000.net> Cc: Subject: Re: Postfix issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 11:13:05 -0000 On Monday 08 September 2008 03:38:05 Sahil Tandon wrote: > David Southwell wrote: > > Could anyone tell me what entry I should make in postfix > > configuration files to bounce mails directed to root@mydomain > > that emanate from a source outside my local network. > > After permitting your networks in the smtpd_recipient_restrictions, use > check_recipient_access to REJECT any messages with an RCPT TO > root@mydomain. > > http://www.postfix.org/postconf.5.html#check_recipient_access > http://www.postfix.org/access.5.html Thanks very much.. I seem to be struggling getting with the postfix command structure. If you have the time would you be kind enough to give me specific examples of the actual entries to be made in the appropriate files. In case it is relevant my server has a number of virtual domains but the problem I am getting is on the primary address for the mail server. Assume the email address in question is root@host.mydomain.tld which appears to be subjected to problems and I want to permit only addresses on the local network to send emails to that address. Thanks in advance No problem if you are too busy David