From owner-freebsd-questions Thu Nov 29 19:31:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta05.mail.mel.aone.net.au (mta05.mail.au.uu.net [203.2.192.85]) by hub.freebsd.org (Postfix) with ESMTP id 738F937B419 for ; Thu, 29 Nov 2001 19:31:37 -0800 (PST) Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104]) by mta05.mail.mel.aone.net.au with ESMTP id <20011130033121.PHZV7767.mta05.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au>; Fri, 30 Nov 2001 14:31:21 +1100 Message-Id: <5.1.0.14.2.20011130142014.01dc3ba0@pop.ozemail.com.au> X-Sender: rbyrnes@pop.ozemail.com.au X-Mailer: I wish it was Linux Date: Fri, 30 Nov 2001 14:21:25 +1100 To: volax@uh.ru From: Rob B Subject: Re: Sendmail relaying question Cc: freebsd-questions@freebsd.org In-Reply-To: <200111291513.fATFDSP49134@ns.uh.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 02:13 30/11/2001, Alexander S. Volchenkov sent this up the stick: >Hi All! > >How can I setup sendmail for relaying mail from users with FROM address: > >user@good-host.com > >and deny relaying for anyone else? You should NEVER relay based on sender address, this is way too easy to spoof. Try restricting via IP address or using pop-before-smtp or SMTP-auth for something a little more secure. Rob -- Age is a very high price to pay for maturity. [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian This is random quote 124 of a collection of 1191 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message