[Mimedefang] sa-update
Ron Wilhoite
ronw at bals.org
Sun Apr 23 09:03:11 EDT 2006
Jonas Eckerman wrote:
> Nels Lindquist wrote:
>>>> might try running sa-update. I was pleasantly surprised to see a
>
>> Hm... on second glance, it would appear that SA called via MD isn't
>> picking up the extra rules--my testing was done with command-line
>> spamassassin.
>
> U just checked into this.
>
> By default, sa-update puts the new rukes in
> /var/lib/spamassassin/<version>.
>
> Both spamd and spamassassin (in my ports installation on FreeBSD) sets
> the parameter LOCAL_STATE_DIR to '/var/lib' when constructing a new
> Mail::SpamAssassin.
>
> mimedefang.pl oth doesn't set LOCAL_STATE_DIR at all, wich is probably
> why Mail::SpamAssassin doesn't find the new rules.
>
Jonas,
Your patch is working here (MD and SA from ports on FreeBSD). Without
the patch I also was not picking up, for example, the DRUGS_HDIA test
from 80_additional.cf in the /var/lib directory.
Thanks.
Ron Wilhoite
More information about the MIMEDefang
mailing list