| View previous topic :: View next topic |
| Author |
Message |
qmzt n00b

Joined: 26 Jul 2004 Posts: 8
|
Posted: Wed Sep 01, 2004 9:12 pm Post subject: emerge qmail-scanner not detecting spam-assassin [solved] |
|
|
Hi,
Searched and found a few others with problems similar to this, but none with a separate thread for it.
When emerging qmail-scanner (ACCEPT_KEYWORDS="~x86" for all), I get the following:
| Quote: |
Building Qmail-Scanner 1.23st...
Searching ........
Something like spamc for SpamAssassin detected - but not correctly installed
(didn't include a "X-Spam-Status: Yes" line in output) - ignoring...
|
SpamAssassin is installed and working..
| Quote: |
/ # spamassassin -V
SpamAssassin version 2.64
/ # ps aux | grep spamd
spamd 26903 0.0 5.1 28352 25980 ? Ss 21:50 0:01 /usr/bin/spamd -d -r /var/run/spamd.pid -a -d -x -u spamd -C /etc/mail/spamassassin/local.cf
/ # spamc
blah
^D
X-Mail-Format-Warning: Bad RFC2822 header formatting in blah
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on invictus
X-Spam-Level:
X-Spam-Status: No, hits=0.3 required=5.0 tests=RM_hm_EmtyMsgid autolearn=no
version=2.64
X-Spam-Report:
* 0.3 RM_hm_EmtyMsgid Message ID is empty, or just spaces - probable spamsign
/ # qpkg -I -v qmail-scanner
mail-filter/qmail-scanner-1.23-r2 *
/ # qpkg -I -v spamassassin
mail-filter/spamassassin-2.64 *
|
So, emerge qmail-scanner detects spamc, but doesn't like the output for some reason. (spamd running of course)
Any hints as to why this might be happening? Any easy way to modify qmail-scanner-queue.pl to include spamassassin?
More information:
/etc/conf.d/spamd
| Quote: | | SPAMD_OPTS="-a -d -x -u spamd -C /etc/mail/spamassassin/local.cf" |
/etc/mail/spamassassin/local.cf
| Quote: | required_hits 5.0
rewrite_subject 0
report_safe 0
report_header 1
version=_VERSION_ summary=_SUMMARY_
use_terse_report 0
add_header all Report _REPORT_
bayes_path /etc/mail/spamassassin/bayes
auto_whitelist_path /etc/mail/spamassassin/auto-whitelist
use_bayes 1
auto_learn 1
skip_rbl_checks 0
use_dcc 0
use_razor2 1
use_pyzor 1
ok_languages all
ok_locales all
|
Last edited by qmzt on Fri Sep 03, 2004 8:43 am; edited 1 time in total |
|
| Back to top |
|
 |
rectrix n00b

Joined: 08 Jan 2003 Posts: 3
|
Posted: Thu Sep 02, 2004 12:22 pm Post subject: |
|
|
I had the same issue - finally found a forum thread that mentioned it.
Change your spamd configuration file (mine is /etc/conf.d/spamd) to use the --siteconfigpath option instead of the -C option
I changed mine from:
| Code: | | SPAMD_OPTS="-a -c -C /etc/mail/spamassassin/local.cf" |
to:
| Code: | | SPAMD_OPTS="-a -c --siteconfigpath=/etc/mail/spamassassin/local.cf" |
and it now works (finally!)
then emerge qmail-scanner |
|
| Back to top |
|
 |
qmzt n00b

Joined: 26 Jul 2004 Posts: 8
|
Posted: Fri Sep 03, 2004 8:43 am Post subject: |
|
|
Indeed it works! Thanks!  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|