Hi, Mark

your problem is probably because of not enough memory for spamdyke, try 
change this:

exec /usr/local/bin/softlimit -m 5000000

that way you will increase memory by 2MB it should be enough.

Cheers
Eduard Švarc

DATA Intertech s.r.o.
Kladenská 46
160 00 Praha 6
Czech Republic
tel. +420-235365267, fax +420-235361446

[email protected] wrote on 14.06.2009 23:56:42:

> Hey folks,
> 
> New to spamdyke, and just trying to get things setup correctly.
> 
> Info:
> 
> qmail 1.03
> spamdyke 4.0.10
> 
> spamdyke compiled without issues or errors of any kind.
> 
> /var/qmail/supervise/qmail-smtpd/run:
> 
> #!/bin/sh
> 
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> LOCAL=`head -1 /var/qmail/control/me`
> 
> if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z
> "$LOCAL" ]; then
>         echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
>         echo /var/qmail/supervise/qmail-smtpd/run
>         exit 1
> fi
> 
> if [ ! -f /var/qmail/control/rcpthosts ]; then
>         echo "No /var/qmail/control/rcpthosts!"
>         echo "Refusing to start SMTP listener because it'll create an
> open relay"
>         exit 1
> fi
> 
> 
> exec /usr/local/bin/softlimit -m 3000000 \
>         /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
>         -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
>         /usr/local/bin/spamdyke -f /etc/spamdyke.conf \
>         /var/qmail/bin/qmail-smtpd \
>         2>&1
> 
> root::/etc>>> cat spamdyke.conf | grep -v ^# | sort -u
> 
> filter-level=allow-all
> greeting-delay-secs=1
> idle-timeout-secs=120
> log-level=debug
> log-target=stderr
> 
> Without spamdyke, watching my current qmail smtpd log, I see lines like 
this:
> 
> @400000004a356b9126ab9304 tcpserver: pid 25745 from 92.100.11.26
> @400000004a356b920c43a024 tcpserver: ok 25745
> pebkac.trippy.org:70.91.168.58:25
> ppp92-100-11-26.pppoe.avangarddsl.ru:92.100.11.26::1828
> @400000004a356b9331f281b4 tcpserver: status: 5/20
> @400000004a356b9331f3682c tcpserver: pid 25747 from 79.81.5.160
> @400000004a356b9333c01d94 tcpserver: end 25745 status 256
> @400000004a356b9333c0217c tcpserver: status: 4/20
> @400000004a356b95146c1c7c tcpserver: ok 25747
> pebkac.trippy.org:70.91.168.58:25
> 160.5.81-79.rev.gaoland.net:79.81.5.160::2788
> @400000004a356b96296a709c tcpserver: end 25747 status 0
> 
> Once I throw the spamdyke line into the mix and restart, I get this :
> 
> @400000004a356c2d12bd3bcc tcpserver: pid 25883 from 86.145.225.163
> @400000004a356c2e062bac7c tcpserver: ok 25883
> pebkac.trippy.org:70.91.168.58:25
> host86-145-225-163.range86-145.btcentralplus.com:86.145.225.163::28382
> @400000004a356c2e0637f8ec tcpserver: end 25883 status 11
> @400000004a356c2e063800bc tcpserver: status: 0/20
> @400000004a356c382d16ea54 tcpserver: status: 1/20
> @400000004a356c382d175b9c tcpserver: pid 25887 from 190.188.105.200
> @400000004a356c39086884ec tcpserver: ok 25887
> pebkac.trippy.org:70.91.168.58:25
> 200-105-188-190.cab.prima.net.ar:190.188.105.200::54561
> @400000004a356c390874ae34 tcpserver: end 25887 status 11
> 
> Status 11, from what I've read, is a segfault. Which would explain why
> I'm not getting any messages in, or any logging from spamdyke, no
> matter what log level I use. Any way to debug this? I'd be happy to
> provide other information, just let me know.
> 
> Your help is greatly appreciated, in advance...
> 
> - Mark
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to