On Fri, 7 Oct 2016 20:34:52 -0700
Vicki Brown wrote:

> I am running SpamAssassin under Amavisd-new (Mac OS X Yosemite; OS X
> Server).
> 
> My local.cf file contains
> 
>   loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject
> 
>   header SUBJECT_IN_BLACKLIST eval:check_subject_in_blacklist()
>   describe SUBJECT_IN_BLACKLIST Subject header is in user's black-list

The above lines are already in by default, I don't think having a second
loadplugin in the wrong place makes a difference. 


>   include /usr/local/mail/blacksubjects

This is ok as long as the file is readable.

> The plugin does not appear to be running.


If restarting Amavisd doesn't fix the problem, try running a test with
the spamassassin script e.g.

blacklist_subject jdkrifh


echo "Subject: jdkrifh" | spamassassin -D

start with a simple  ascii string. For anything more complicated you'd
need to set "normalize_charset 1" and edit your files in UTF-8.


BTW blacklist_subject is mainly a sort of Fisher-Price SpamAssassin rule
that's aimed at end users who aren't trusted to use regular expressions.

Reply via email to