On Fri, Jan 05, 2007 at 21:48:55 -0500, Amitai Schlair wrote:
> On Jan 5, 2007, at 1:43 PM, Jeremy Kitchen wrote:
>
> >Matthew R. Dempsky wrote:
> >> tcpserver 0 25 greetdelay qmail-smtpd
> >>
> >>. By default, if greetdelay receives any input from the client
> >>before
> >>the time limit passes (violating RFC 2821's recommendations), it will
> >>exit without running qmail-smtpd.
> >>
> >>I've tested it under OpenBSD 4.0 and Debian GNU/Linux 3.1. I'd love
> >>to hear reports from others.
> >
> >I was skeptical at first, but I must say, it is working brilliantly.
> >Well, it seems that way at least, my inbox has become a little less
> >flooded with spam. I haven't had a chance to check my logs yet
> >since then.
>
> Works great for me, too. Even running _after_ qgreylist, over the
> last ~24 hours it's dropped ~700 rude connections.
My patch has worked for a year, too, and additionally it quits
immediately if client drops connection,
instead of just sleep()ing and wasting resources like the fehcom patch.
@40000000459e364906fda664 qmail-smtpd: id
30913/1167996459.857351/80.223.106.128:25/90.19.62.95:2210
EXIT_BANNERDELAY_NULLCONN (19/65 s, inq=0) TCP_INFO STATE=TCP_CLOSE
CA_STATE=TCP_CA_Open OPT=( SACK) RTO=663000 ATO=40000 RTT=221000 RTTVAR=110500
RCV_SSTHRESH=5720 SND_SSTHRESH=100 SND_CWND=2 ADVMSS=1430 SND_MSS=512
RCV_MSS=512 RCV_SPACE=5720 LAST_DATA_SENT=20688 LAST_DATA_RECV=52724935
LAST_ACK_RECV=1
Ohh, and the highly configurable sqlite3 greylisting feature works ok, too.
http://qmail.safari.iki.fi/
--
pgpSpCBH8KvIJ.pgp
Description: PGP signature
|