I tried installing SA using the instructions in the DA knowledge base.
Steps 1 & 2 go fine:
No errors at all at this point.
When I restart exim, I get:
Okay, here's lines 369-392
I don't see the problem.
It's exactly what was in the KB. If I revert it back to the original
My exim version is 4.24 and the OS is Fedora Core 1.
Steps 1 & 2 go fine:
1) Install spamd and spamc:
cd /usr/local/directadmin/scripts
./spam.sh
2) Start the spamd:
/usr/bin/spamd -d -a -c -m 5
No errors at all at this point.
When I restart exim, I get:
Starting exim: 2004-10-02 08:28:53 Exim configuration error in line 384:
missing quote at end of string value for condition
[FAILED]
Okay, here's lines 369-392
######################################################################
# DIRECTORS CONFIGURATION #
# Specifies how local addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A local address is passed to each in turn until it is accepted. #
######################################################################
# Local addresses are those with a domain that matches some item in the
# "local_domains" setting above, or those which are passed back from the
# routers because of a "self=local" setting (not used in this configuration).
# 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
I don't see the problem.

, it'll start fine... but the mail won't get checked.# 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
My exim version is 4.24 and the OS is Fedora Core 1.