> > http://linux.voyager.hr/ucspi-tcp/tcpserver-limits-2004-03-27.diff
> This diff adds a MAXCONNIP to qpsmtpd-forkserver. I set the default to
> my $MAXCONNIP = 5;
The problem with this patch is that it simply drops connections after the
MAXLOAD, MAXCONNIP, or MAXCONNC thresholds are met. Some bad MTA's will
treat dropped connections as permanent (5xx) errors and bounce the message.
My workaround was to add:
env("RBLSMTPD","Too many connections from your IP address. Please try again
later.");
inside of doit() in tcpserver.c (for example), comment out the "if
(flagdeny) _exit(100);" line and then add a call to /usr/local/bin/rblsmtpd
in my run script.
I've been meaning to make a patch with my own modifications... I'll make
one, test it out and post it up...
--
Tim Wesemann