> This is very strange, I've had installed not less than 30 times
> qmail-scanner with Spamassassin over RH7.3, and always work for me.
>
> Spamd runs with the same 'user' than qmail-scanner and is started
> with the options "-d -L -x -u qscand"
>
> Only once I've had a problem because the incoming mail went through a
> mailhub before the server with qmail-scanner, and the IP of the
> mailhub was as a  RELAYCLIENT in /etc/tcp.smtp, I've just comented
> the third line of the spamassassin routine in qmail-scanner-queue.pl
>
> #return if (defined($ENV{'RELAYCLIENT'}) &&
> !defined($ENV{'QS_SPAMASSASSIN'}));
>
> Hope this help
>
> Salvatore
>
> >hi ken. tnx allot. this is a great idea.
> >it works fine.
> >tnx you very much.
> >
> >
> >Ken wrote:
> >
> >>I was never able to get SA to work through qmail-scanner
> myself. I just did
> >>a work-around by running the spamc client before QS. In my case,
> >>QMAILQUEUE="/var/qmail/bin/script" which is a bash script
> that just does:
> >>---------------------------------------------------------------
> >>#!/bin/bash
> >># file:/var/qmail/bin/script
> >>/usr/local/bin/spamc -f | /var/qmail/bin/qmail-scanner-queue.pl
> >>---------------------------------------------------------------
> >>so it's just pipelined before SA. It works great for me on
> my RH7.3 netqmail
> >>install. I got tired of trying to figure out why QS
> wouldn't read the SA
> >>results, and took the easy way out! hehe In my case, SA
> worked fine directly
> >>and so did QS. Together, it appeared that QS would take an
> inbound msg,
> >>write to disk and scan (clamav etc), pass a copy to SA, SA
> would check and
> >>confirm SPAM, (hand the SA marked msg back to QS?) which
> would DROP that msg
> >>and use the tmp msg from disk it created to give to SA in
> the first place!
> >>That's what it seemed like. SA was logging detected SPAM in
> the maillog, but
> >>no indication from SA ever appeared in the msgs.
> >>
> >>Hope this helps...
> >>
> >>Ken
> >>


I figured I screwed something up. I took the easy way out. I know that I did
NOT run spamd as the QSCAND user... I am running it as a spamc user. Are you
supposed to use qscand user? The QS FAQ regarding SA shows:

  ...and then run it as "/usr/bin/spamd -L -x -u spamc"

Maybe the FAQ is incorrect?! Is there a benefit to doing SA through QS as
opposed to doing it separately? Anyone? I already have it working, and I
already waste enough time as it is!

Ken




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to