From owner-freebsd-isp Wed Dec 6 9:17:15 2000 From owner-freebsd-isp@FreeBSD.ORG Wed Dec 6 09:17:12 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from smtp2.amigo.net (smtp2.amigo.net [209.94.64.40]) by hub.freebsd.org (Postfix) with ESMTP id 764A437B400 for ; Wed, 6 Dec 2000 09:17:12 -0800 (PST) Received: from amigo.net ([209.94.67.250]) by smtp2.amigo.net (Post.Office MTA v3.1 release PO205b ID# 0-39855U5000L500S0) with ESMTP id AAA19679; Wed, 6 Dec 2000 10:16:59 -0700 Message-ID: <3A2E7493.3020106@amigo.net> Date: Wed, 06 Dec 2000 10:17:07 -0700 From: Randy Smith Organization: Amigo.Net User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.2-STABLE i386; en-US; m18) Gecko/20001015 X-Accept-Language: en MIME-Version: 1.0 To: Uldis Kuplis Cc: freebsd-isp@freebsd.org Subject: Re: sendmail References: <3A2E96EA.8CFCD5E@hipo.lv> Content-Type: text/plain; charset=ISO-8859-4; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Uldis Kuplis wrote: > Hi! > > How can I denied to relay spams? > My users dialing to e-mail server and therefore they has undeterminated > IP adresses. I can't use /etc/mail/access > How can I set up my BSD box to relay all adreses where > "FROM:" is any@ my.domain.com ? You can use the hosts.allow and restrict access to the range of IP addresses that your dialup users are assingned. For example, if your users are assigned addresses from the 192.168.1 class C, then you allow access from any IP in that class c and deny it from everywhere else. You definitely do NOT want to do base relay on the From: field. That is too easy to spoof. (If you want to know how, let me know and I'll send you instructions.) If you don't believe me, take a look at the spam you recieve and see how much of it claims to come from Yahoo when it actually comes from UU.net. > regards, Uldis -- Randy Smith Amigo.Net Webmaster 719-589-6100 ext. 4185 http://www.amigo.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message