[Mimedefang] sa-update

Nels Lindquist nlindq at maei.ca
Mon Apr 24 16:12:30 EDT 2006


Jonas Eckerman wrote:

> U just checked into this.

Thanks for that; I hadn't had time to look in detail, although I was
suspecting something to do with the LOCAL_RULES_DIR setting. :-)

> 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.
> 
> The following, *untested* code diff might be all that's needed to make
> it work:

----
Nels Lindquist



More information about the MIMEDefang mailing list