hi bill, thanks. I changed spamd's run script and it seems to run fine under
the softlimit. The script is below in case any one finds it useful (or in
case its wrong and will blow up on me later maybe someone can point out my
error!).
I tried setting up rblsmtpd according to the instructions in the qmail
handbook and afterwards was unable to smtp through my server getting the
error that smtp authentication is not supported by the server. also when i
telnetted to 127.0.0.1 i got rblmstpd.local even though i should have gotten
my hostname. something is not right. the script i tried is below. any
suggesstions? tia!
spamd run
#!/bin/sh
exec /usr/local/bin/softlimit -m 25000000 /usr/bin/spamd -F0 -L -x -u
vpopmail 2>&1
smtpd run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
exec /usr/local/bin/softlimit -m 8000000 \
/usr/local/bin/tcpserver -H -R -v -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd \
-r relays.ordb.org \
-r inputs.orbz.org \
-r sbl.spamhaus.org \
/var/qmail/bin/qmail-smtpd mail.zoper.com \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
<-->
george donnelly - http://zettai.net/ - "We Love Newbies" :)
Zope Hosting - Dynamic Website Design - Search Engine Promotion
Yahoo, AIM: zettainet - ICQ: 51907738 - e:[EMAIL PROTECTED]
> From: "Bill Shupp" <[EMAIL PROTECTED]>
> Date: Wed, 25 Dec 2002 16:46:38 -0600 (CST)
> To: <[EMAIL PROTECTED]>
> Subject: Re: [toaster] spamd eating up all memory
>
>> hi
>>
>> I'm running spamd and i seem to have been "spam-attacked" the last
>> couple nights with (according to my mrtg graphs) apprx 400 messages each
>> time. spamd apparently soaked up all my available memory (the box is
>> light on memory) and effectively shut down the box.
>>
>> what i'm thinking about doing is running spamd through softlimit and
>> limiting max memory and processes.
>>
>> I'm wondering if anyone has any ideas, comments, experiences? tia
>
> George,
>
> That should work fine, although I've never done any tests with limiting
> spamd. Also, you might try subscribing to RBL lists. I currently
> subscribe to ORDB and SpamHaus. And, you could block the offending IP via
> firewall or tcprules lists.
>
> Regards,
>
> Bill Shupp
> MerchBox
>
>
>