From owner-freebsd-questions Tue Aug 27 0:16:50 2002 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 159E337B400 for ; Tue, 27 Aug 2002 00:16:49 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3835F43E65 for ; Tue, 27 Aug 2002 00:16:48 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7R7Gj2b008554; Tue, 27 Aug 2002 08:16:45 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7R7Gei9008553; Tue, 27 Aug 2002 08:16:40 +0100 (BST) Date: Tue, 27 Aug 2002 08:16:40 +0100 From: Matthew Seaman To: Mike Hogsett Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail Rules Message-ID: <20020827071640.GB8294@happy-idiot-talk.infracaninophi> References: <200208270645.g7R6jDNL008296@axp.csl.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208270645.g7R6jDNL008296@axp.csl.sri.com> User-Agent: Mutt/1.5.1i 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 On Mon, Aug 26, 2002 at 11:45:13PM -0700, Mike Hogsett wrote: > We are, as many of you are also, experiencing an increasing number of > forged from adresses in email sent to our domains. Traditionally we have > allowed external mail to claim to be internal senders for a number of > reasons. What I would like to do is only permit hosts within our address > space to claim to be user@ourdomain(s).com and deny all external hosts > claiming to be user@ourdomain(s).com (with an appropriate error message). > How do I do this? I am not asking for you do to my homework, just point > me where I can find what I need if you could be so kind. Start with /usr/share/sendmail/cf/README, and look particularly at those options to do with the access map '/etc/mail/access'. Other resources for general sendmail wrangling include http://www.sendmail.org/faq, the sendmail-questions@sendmail.org mailing list and the Bat book: http://www.oreilly.com/catalog/sendmail2/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message