Hi guys. I am running SA3 via qmail-scanner. I setup razor/pyzor/dcc as per the SA site guides. I need to tell SA to use the shared config area for these, using:
-C /etc/mail/spamassassin
Whoooa, slow down there cowboy... -C is not to point to the directory containing local.cf. It's to point to the directory where your main SA rules are.. Usualy the default will work fine, as it will point to where "make install" put them (/usr/share/spamassassin).
If you want to point SA to local.cf, use -c, however /etc/mail/spamassassin is the default here, so you don't need to pass that at all.
If you want to make sure what the defaults are, run spamassassin --lint -D, it will tell you what path's it's currently using for the default rules, the site rules (where local.cf lives) and user_prefs.
<snip large, irrelevant bits of calling spamc from qmail-scanner>
I realise this looks like a qmail-scanner question rather than spamassassin, but the real question is as to the case sensitivity of SA flags? I have the local.cf setup correctly but I still get:
No it's not a qmail-scanner.. any of the directory options would be passed to spamd, NOT spamc.
However, yes, all of them are case-sensitive, but spamc does not have the capability of dictating directories for the default and site-rules directories.
Spamd reads those directories when it starts up. By the time spamc is called, it's too late.