On 14 Nov 08, Bernd Hoffmann wrote:
> It doesn't work on my system and I don't understand why. :-(
Maybe my configure options of simscan helps?
./configure \
--enable-user=simscan \
--enable-per-domain=y \
--enable-spam=y \
--enable-spamc-user=y \
--enable-spam-hits \
--enable-clamav=y \
--enable-received=y \
--enable-attach=y \
--enable-ripmime \
--enable-custom-smtp-reject=y
best,
-hartmut
>
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von
> > Hartmut Wernisch
> > Gesendet: Mittwoch, 12. November 2008 14:21
> > An: spamdyke users
> > Betreff: Re: [spamdyke-users] simscan, spamassassin and spamdyke
> >
> >
> > Here my config files using spamassassin with simscan:
> >
> > [tcp.smtp]
> >
> > :allow,QMAILQUEUE="bin/simscan"
> >
> >
> > [simcontrol]
> >
> > xxxxxxx.xxx:clam=yes,spam=yes,spam_hits=10
> > :clam=no,spam=no
> >
> >
> > [smtpd in qmail init file]
> >
> > ulimit -v 16384
> > sh -c "start-stop-daemon --start --quiet --user vpopmail \
> > --pidfile /var/run/tcpserver_smtpd.pid --make-pidfile \
> > --exec /usr/bin/tcpserver -- -v -R -H -c 100 \
> > -u `id -u vpopmail` \
> > -g `id -g vpopmail` \
> > -x /etc/tcp.smtp.cdb \
> > 0 smtp \
> > /var/qmail/bin/spamdyke --config-file /etc/spamdyke.conf \
> > /usr/sbin/qmail-smtpd \
> > /var/vpopmail/bin/vchkpw /bin/true 2>&1 \
> > | /usr/bin/setuidgid qmaill /usr/bin/multilog \
> > t n100 s5000000 /var/log/smtp &"
> >
> >
> > Sending from my account to my account results in no scanning
> > by spamassassin. Only mails not sending by me with smtp-auth
> > are passed through spamassassin.
> >
> > Hope this helps :)
> >
> > cu,
> > -harti
> >
> > On 12 Nov 08, Bernd Hoffmann wrote:
> > > I know the site (http://qmail.jms1.net/simscan) and I
> > patched simscan
> > > with simscan-1.4.0-combined.4.patch. I also rebuild
> > tcp.smtp.cdb and
> > > simcontrol.cdb after any change of tcp.smtp and simcontrol.
> > >
> > > Here are the outpot of the logfile without spamdyke in qmailrunfile:
> > >
> > > simscan: calling clamdscan
> > > simscan: cdb looking up version clamav
> > > simscan: normal clamdscan return code: 0
> > > simscan: calling spamc
> > > simscan: calling /usr/local/bin/spamc spamc -u EMAIL
> > > simscan: cdb looking up version spam
> > > simscan:[4160]:CLEAN
> > > (-101.40/7.00):0.6086s:Testmail:10.10.0.3:EMAILFROM:EMAILTO
> > > simscan: done, execing qmail-queue
> > > simscan: qmail-queue exited 0
> > >
> > > When I add spamdyke to my qmailrunfile, I get the following
> > log entries:
> > >
> > > simscan: calling clamdscan
> > > simscan: cdb looking up version clamav
> > > simscan: normal clamdscan return code: 0
> > > simscan:[4213]:RELAYCLIENT:0.0652s:-:10.10.0.3:EMAILFROM:EMAILTO
> > > simscan: done, execing qmail-queue
> > > simscan: qmail-queue exited 0
> > >
> > > As you can see, spamc will not calling by simscan.
> > >
> > > Can you show me your tcp.smtp file and also your
> > > qmail-smtpd-run-script, harti?
> > >
> > > Thanks in advance.
> > >
> > > Bernd
> > >
> > >
> > > > I have no problem running spamdyke, simscan, clamav, f-prot and
> > > > spamassassin.
> > > >
> > > > Are you sure you rebuild the cdb files after making changes?
> > > > (tcp.smtp.cdb and simcontrol.cdb)
> > > >
> > > > You can enable simscan debugging by adding environmen variable in
> > > > your /etc/tcp.smtp file:
> > > >
> > > > SIMSCAN_DEBUG=2
> > > >
> > > > Maybe you are also interessted in a good site providing
> > some patches
> > > > for simscan (if you don't know it already:):
> > > >
> > > > http://qmail.jms1.net/simscan/
> > > >
> > > >
> > > > best,
> > > > -harti
> > > >
> > > > On 11 Nov 08, [EMAIL PROTECTED] wrote:
> > > > > thanks for your answers.
> > > > >
> > > > > first of all i would like to say, that simscan works also with
> > > > > spamdyke, but when i add spamdyke to my run-script, simscan
> > > > skip only spamassassin.
> > > > > and i don't know the reason.
> > > > >
> > > > > My simscan-configuration looks like:
> > > > >
> > > > > ./configure \
> > > > > --enable-user=simscan \
> > > > > --enable-clamav=y \
> > > > > --enable-clamdscan=/usr/local/bin/clamdscan \
> > > > > --enable-custom-smtp-reject=n \ --enable-per-domain=y \
> > > > > --enable-attach=y \ --enable-dropmsg=n \ --enable-spam=y \
> > > > > --enable-spam-passthru=n \ --enable-spamc-user=y \
> > > > > --enable-spam-hits=7 \
> > > > > --enable-spamc=/usr/local/bin/spamc \
> > --enable-qmaildir=/var/qmail
> > > > > \ --enable-workdir=/var/qmail/simscan \
> > > > > --enable-controldir=/var/qmail/control \
> > > > > --enable-quarantinedir=/var/qmail/quarantine \
> > > > > --enable-qmail-queue=/var/qmail/bin/qmail-queue \
> > > > > --enable-ripmime=/usr/local/bin/ripmime \ --enable-received=y \
> > > > > --enable-spamassassin-path=/usr/local/bin/spamassassin \
> > > > > --enable-clamavdb-path=/usr/local/share/clamav \
> > > > > --enable-sigtool-path=/usr/local/bin/sigtool \ --enable-regex=y
> > > > >
> > > > > My qmail-smtpd-run-script looks like:
> > > > >
> > > > > #!/bin/sh
> > > > >
> > > > > QMAILDUID=`id -u vpopmail`
> > > > > NOFILESGID=`id -g vpopmail`
> > > > > 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 10000000 \
> > > /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
> > > > > /usr/local/etc/spamdyke.conf \ /var/qmail/bin/qmail-smtpd
> > > > > /home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
> > > > >
> > > > > As I said, i activate simscan by adding
> > > > > ":allow,QMAILQUEUE="/var/qmail/bin/simscan" to my /etc/tcp.smtp.
> > > > >
> > > > > My /var/qmail/control/simcontrol file looks like:
> > > > >
> > > > > :clam=yes,spam=yes,spam_hits=7
> > > > >
> > > > > Don't hesitate if you need more infos ;-)
> > > > >
> > > > >
> > > > > > The qmail-toaster (http://qmailtoaster.org) implements these
> > > > > > together just fine, so it *is* possible. ;)
> > > > > >
> > > > > > As Sam said, with a little more info about your configuration
> > > > > > I'm expect we can help get you running properly.
> > > > > >
> > > > > > Sam Clippinger wrote:
> > > > > >> I'm not familiar enough with simscan to give any good
> > > > advice here,
> > > > > >> but spamdyke should work fine with simscan. The FAQ
> > > > only mentions
> > > > > >> qmail-scanner because that's what I use and it documents a
> > > > > >> small bug I found.
> > > > > >>
> > > > > >> Perhaps if you could post your "run" script and more
> > > > > >> information about your simscan configuration,
> > someone here may
> > > > > >> be
> > > > able to help.
> > > > > >>
> > > > > >> -- Sam Clippinger
> > > > > >>
> > > > > >> Bernd Hoffmann wrote:
> > > > > >>> Hello,
> > > > > >>>
> > > > > >>> I use netqmail 1.06 with tls-smtpauth-patch. I implement
> > > > > >>> clamav and spamassassin with simscan by add
> > > > > >>> :allow,QMAILQUEUE="/var/qmail/bin/simscan"
> > > > > >>> to my /etc/tcp.smtp.
> > > > > >>>
> > > > > >>> When I enable spamdyke by adding
> > "/usr/local/bin/spamdyke -f
> > > > > >>> /usr/local/etc/spamdyke.conf" to my qmail-smtpd-run-script,
> > > > > >>> simscan skip the spamassassin-scan.
> > > > > >>>
> > > > > >>> I don't want to use the qmail-scanner
> > > > > >>> (http://www.spamdyke.org/documentation/FAQ.html#TROUBLE5).
> > > > > >>> That can not be the solution!?
> > > > > >>>
> > > > > >>> How can I encourage simscan to use spamassassin
> > > > together with spamdyke?
> > > > > >>>
> > > > > >>> Can somebody explain me, what's the problem?
> > > > > >>>
> > > > > >>> Thanks in advance.
> > > > > >>>
> > > > > >>> Best regards,
> > > > > >>>
> > > > > >>> Bernd
> > > > > >>>
> > > > > >>> _______________________________________________
> > > > > >>> spamdyke-users mailing list
> > > > > >>> [email protected]
> > > > > >>> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
> > > > > >>>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > -Eric 'shubes'
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users