Cyber Sentry
Qmail Help Section
Perl Tutorial
Linux Command Line Help
Computer Resources

I use the tcp.smtp file to block known spammers by IP...is this a good practice?
К счастью недвижимость в киеве в скором времени подешевеет.

Quite a few people use the tcp.smtp file to block email from IP addresses that are known to send spam. They do this by adding the following line to their tcp.smtp file:

 

 

 

aaa.bbb.ccc.ddd:deny

 

 

It is sometimes better to use rblsmtp to get the same result. Rblsmtp is part of ucspi-tcp and is documented at cr.yp.to/ucspi-tcp/rblsmtpd.html.

 

You can modify your run script to use rblsmtpd like so:

 

 

 

exec /usr/local/bin/softlimit -m 2000000 \

/usr/local/bin/tcpserver -v -h -p -R -l 0 -x /etc/tcp.smtp.cdb \

-c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \

rblsmtpd \

-r relays.ordb.org \

-r sbl-xbl.spamhaus.org \

/var/qmail/bin/qmail-smtpd 2>&1



Installation Questions
Post Install Questions:
Config Questions
General Qmail Questions
Bounced Email Questions
Spam / Virus prevention
Log Files
Qmail Error Messages
Problems with the Queue
Server Moves (hardware or IP changes)
Qmail Addons
Posting Questions to the Qmail Mailing List
General Email Questions


Copyright 2005 + 2006, Cyber Sentry Ltd, All Rights Reserved.
 

Cyber Sentry -- Application Development Sitemap 1 2 3