> DE> # QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
> DE> # export QMAILQUEUE
> DE> # echo -e "To: postmaster@localhost\nSubject: This is a QMAILQUEUE
test\n\n"
> DE> | /var/qmail/bin/qmail-inject
>
> DE> After you run that, check your postmaster account and there should be
a
> DE> message there.  Check the headers on it.
>
> Here what I have in the header :
>
> with qmail-scanner-1.10 (hbedv: 6.12.0.0. spamassassin. Clear:0. Processed
in 0.541014 secs);
>
> But nothing about Spam

Make sure your spamd daemon is running.  qmail-scanner-queue.pl calls the
function spamassassin(), which runs
$DD=`$spamassassin_binary  -f < $scandir/$wmaildir/new/$file_id  >
$scandir/$wmaildir/tmp/$file_id.spamc`;

If spamd is not running, the -f switch on spamc will fail gracefully and
feed the message back into the queue.  If you run
# echo "To: root@localhost" | spamc
does it return a X-Spam-Status ?

If not, you need to start the spamd daemon with.
# /usr/bin/spamd -d

Make sure you check your /var/spool/qmailscan/qmail-queue.log.  If spamc was
unable to process the message, then you will see debug output from this
statement
&debug("spamassassin: $spamassassin_binary failed - skipping...") as long as
my $DEBUG='1';

Dallas



_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to