Thomas Raef escribió:

The-Box:~# vi /etc/tcp.smtp

127.:allow,RELAYCLIENT=""

192.168.13.2:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

My spamd logs show all activity. It shows what spam rules were hit, preforks and other such activity.

Check to see what logs are showing activity.

As far as the simscan error, I googled it and found:

*RE: connect error 2*

*Subject: *

        

RE: connect error 2

That error it's related to p0f features...

Try disabling them with NOP0FCHECK=1 (a least it worked for me):

         export QMAILQUEUE=/var/qmail/bin/simscan

         export NOP0FCHECK=1

         export SIMSCAN_DEBUG=2

Mauricio Wyler


Yes, adding NOP0FCHECK="1" in /etc/tcp.smtp worked.
Like this:
:allow,REQUIREAUTH="",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"

Now simscan in no longer reporting connect error 2. Thanks.
Funny thing is, I'd tried that already but I must have done something wrong or differently because it didn't work before.

Regarding the spamd log. It remains empty :(
The logs that do have activity are /var/log/mail/info, /var/log/mail/errors, /var/log/qmail/current, /var/log/qmail/smtpd/current, and /var/log/qmail/pop3d/current.
But nothing in /var/log/spamd/current.

I used to get a load of stuff there, inlcuding a bunch of errors. But then I recompiled simscan and properly configured spamd, and now everything works except the spamd log.

spamd start script looks like this:

.........................
. /etc/rc.d/init.d/functions
PATH=$PATH:/usr/local/sbin
case "$1" in
 start)
       cd /

       spamd -l -d -x -L -s stderr -r /var/run/spamd.pid \
       --socketpath=/tmp/spamd.sock 2>&1 | \
       /usr/local/bin/setuidgid qmaill \
       /usr/local/bin/multilog t n20 s1000000 /var/log/spamd &
       echo "spamd started"
       ;;

...............................

/Regards

Reply via email to