On Sun, 2002-11-10 at 11:18, Derrick Ryalls wrote:
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:owner-freebsd-questions@;FreeBSD.ORG] On Behalf Of Warren Block
> > Sent: Sunday, November 10, 2002 10:50 AM
> > To: W. D.
> > Cc: [EMAIL PROTECTED]
> > 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to