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

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Shai
> Sent: Tuesday, November 11, 2003 12:14 AM
> To: [EMAIL PROTECTED]
> Subject: [Qmail-scanner-general]qmailscanner + SpamAssassin
>
>
> Hi,
>
> I can't get SA to change the subject header of mails marked as spam.
>
> The mail is added the header that it is spam when hits are above 5.0
>
> I have /etc/mail/spamassassin/local.cf saying:
>
> # This is the right place to customize your installation of
> SpamAssassin.
> # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
> # tweaked.
> #
> ##############################################################
> #############
> #
> #rewrite_subject 0
> #report_safe 1
>     auto_whitelist_path        /var/spool/spamassassin/auto-whitelist
>     auto_whitelist_file_mode   0666
>
> # SpamAssassin config file for version 2.5x
> # generated by http://www.yrex.com/spam/spamconfig.php (version 1.01)
>
> # How many hits before a message is considered spam.
> required_hits           5.0
>
> # Whether to change the subject of suspected spam
> rewrite_subject         1
>
> # Text to prepend to subject if rewrite_subject is used
> subject_tag             *****SPAM*****
>
> # Encapsulate spam in an attachment
> report_safe             1
>
> # Use terse version of the spam report
> use_terse_report        0
>
> # Enable the Bayes system
> use_bayes               1
>
> # Enable Bayes auto-learning
> auto_learn              1
>
> # Enable or disable network checks
> skip_rbl_checks         0
> use_razor2              0
> use_dcc                 1
> use_pyzor               1
>
> # Mail using languages used in these country codes will not be marked
> # as being possibly spam in a foreign language.
> ok_languages            all
>
> # Mail using locales used in these country codes will not be marked
> # as being possibly spam in a foreign language.
> ok_locales              all
>
>
> I'm using SpamAssassin 2.55
>
> What else am I doing wrong?
>
> Cheers,
> Shai
>
>
> -------------------------------------------------------
> 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
>
>




-------------------------------------------------------
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