From owner-freebsd-questions Thu Oct 18 16:41:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id A911A37B405 for ; Thu, 18 Oct 2001 16:41:15 -0700 (PDT) Received: from hades.hell.gr (patr530-a125.otenet.gr [212.205.215.125]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f9INfBO19634; Fri, 19 Oct 2001 02:41:11 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f9ILiDM10716; Fri, 19 Oct 2001 00:44:13 +0300 (EEST) (envelope-from charon@labs.gr) Date: Fri, 19 Oct 2001 00:44:13 +0300 From: Giorgos Keramidas To: Chris Aitken Cc: questions@FreeBSD.ORG Subject: Re: Sendmail, Access To Message-ID: <20011019004412.D9820@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i X-GPG-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-URL: http://labs.gr/~charon/ 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 Chris Aitken wrote: > Hi, > > Got a question that I cant seem to find in my sendmail book here. What I > want to be able to do is block ALL domains and addresses from sending mail > through this test mail server im setting up, but have a select few > domains, and individual addresses. > > I didnt want to have to TCP Wrap sendmail as I like it running as a system > daemon, but is there a way to do both ? In general you don't want to tcp_wrap sendmail, since you want to be able to receive incoming mail from all `clients' that might connect to you and send mail to one of your users/domains. > Any assistance would be great. What you want to do is `antirelay' setup, where you block relaying mail for everyone, and explicitly allow some mail servers to relay through you. There are some very good instructions on setting this up on http://www.sendmail.org/ and the sample Sendmail configuration files that are distributed with FreeBSD should be nice starting points on writing your own. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message