Skip site navigation (1)Skip section navigation (2)
Date:      10 Nov 2002 12:08:30 -0900
From:      Jon Reynolds <jonr@destar.net>
To:        Derrick Ryalls <ryallsd@datasphereweb.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: How to stop SPAMMER??!
Message-ID:  <1036962510.1691.0.camel@localhost.localdomain>
In-Reply-To: <001b01c288f6$6a00b9c0$0200a8c0@bartxp>
References:  <001b01c288f6$6a00b9c0$0200a8c0@bartxp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2002-11-10 at 11:18, Derrick Ryalls wrote:
> 
> 
> > -----Original Message-----
> > From: owner-freebsd-questions@FreeBSD.ORG 
> > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Warren Block
> > Sent: Sunday, November 10, 2002 10:50 AM
> > To: W. D.
> > Cc: freebsd-questions@FreeBSD.ORG
> > Subject: Re: How to stop SPAMMER??!
> > 
> > 
> > On Sat, 9 Nov 2002, W. D. wrote:
> > 
> > > At 19:49 11/9/2002, Steve Wingate wrote:
> > 
> > > > 2. Are you the recipient of spam or is your box being used as a 
> > > >relay?
> > > 
> > > Relay.
> > 
> 
> http://logicsquad.net/freebsd/qmail-how-to.html
> 
> That is the site I used to get a basic qmail system up and running.  The
> file which determines who can use qmail to relay is /etc/tcp.smtp
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 192.168.1.:allow,RELAYCLIENT=""
> :allow
> 
> The first two lines allow localhost and local network to relay using the
> box, the third line I believe allows anyone to send mail to the box.  If
> the people using your qmail have fairly static ip addys, then just added
> them to this file with the relayclient option.  Ranges of ips are
> enabled via dropping the last octet as shown in line two above.  After
> modifying tcp.smtp, you need to run this line for tcpserver
> 
> /usr/local/bin/tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp <
> /etc/tcp.smtp
> 
> 
> Hope this helps.
> 
> > 
> > In fact, if your system is an open relay, you should 
> > disconnect it from the net until you have it closed.  There 
> > are two reasons for that.  The first is to stop the abuse of 
> > your system.  The second is to keep your system from being 
> > added to lists of open relays or spam sources.
> >  
> > -Warren Block * Rapid City, South Dakota USA
> > 
> > 
Also make sure in your /var/qmail/control directory that you have an
'rcpthosts' file with only your domain in it eg 'echo your.domain >>
rcpthosts' if this is not so then you are an open relay.

Jon



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036962510.1691.0.camel>