Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 1998 23:05:31 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Jason Korkin <thekork@xtdl.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: QUESTION: How do I turn off sendmail relaying?
Message-ID:  <Pine.BSF.3.96.980208230334.24904t-100000@gdi.uoregon.edu>
In-Reply-To: <34DB54A7.9EA88605@xtdl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Feb 1998, Jason Korkin wrote:

> Hi,
>     We are having a huge problem with people using our host as a relay
> when spamming accross the net... I have 2 questions, (1) how can I turn
> off relaying so that they wont be allow to bounce off of our server, (2)
> how can I only allow people to access our mail server from only our
> domain (xtdl.com).
> 
> # uname -a
> FreeBSD user.xtdl.com 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #0

For (1), on 2.2.5 and later machines, we have a /etc/mail/ directory that
contains patches to make Sendmail reject relays.  You have to be running
Sendmail 8.8.x for it to work.  I'll attach a .tar.gz of the directory,
primed with some domains and IPs to block, via private mail.  You *MUST*
be running 8.8.x or later of sendmail; others will barf.

For (2), see `man ipfw'.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980208230334.24904t-100000>