https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6481
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #4 from [email protected] 2010-08-10 15:00:18 UTC --- I found the problem - and a solution. The problem was with the MIMEDefang interface, not SA proper. Therefore, nothing need be fixed here. When one specifies NO configuration file at all to the MD SA calls, e.g. spam_assassin_init(), MIMEDefang checks for various default files to use. These files are in directories "etc/mail/" and "/etc/mail/spamassassin/". The latter was the problem - in that one of the defaults it would find was in fact "/etc/mail/spamassassin/local.cf" which SA already loads on its own, so it really was being loaded TWICE. The fix: Specifically set the configuration (passed as "user_prefs" to SA) as "" (the empty string; not a NULL). Since I used only spam_assassin_check(), my fix is to call it as spam_assassin_check(""). I have suggested that MIMEDefang be modified so as NOT to select default configurations from "/etc/mail/spamassassin/" in the future, since SA already has read them. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
