Hi all!

Let me describe my problem.

We're running Fedora Core 1 & Exim 4.43.
I installed ClamAv.
Exim & ClamAv worked fine together. ClamAv used to find viruses.
Then I installed the latest SpamAssassin.
All services have been restarted without errors.

# ps aux | grep spamd
root     18981  0.0  2.1 26560 21724 ?       S    19:16   0:00 
/usr/bin/spamd -d -c -m 5
root     18984  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
root     18985  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
root     18986  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
root     18987  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child
root     18988  0.0  2.1 26560 21724 ?       S    19:16   0:00 spamd child

# spamd -V
SpamAssassin Server version 3.0.2
  running on Perl 5.8.3

# cat /etc/mail/spamassassin/local.cf | grep "^[a-z,A-Z]"
rewrite_subject 1
subject_tag !!!!*****SPAM*****!!!!
report_safe 1
use_terse_report 0
always_add_headers 1
fold_headers 1
spam_level_stars 1
spam_level_char *
use_bayes 1
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
ok_languages all
ok_locales all

I've added the following to exim.conf:

# Spam Assassin
spamcheck_director:
  driver = accept
  condition = "${if and { \
      {!def:h_X-Spam-Flag:} \
      {!eq {$received_protocol}{spam-scanned}} \
      {!eq {$received_protocol}{local}} \
      
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}}
 \
    } {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify

transport_filter = /usr/bin/spamc -u 
${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}

However, SA doesn't parse any email for spam :(. Why?

Any suggestions would be much appreciated.

--
 Oleksandr Samoylyk

Reply via email to