Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SpamAssassin Training Error




17 jun 2006 kl. 00.10 skrev David Haines:

On 6/15/06 3:38 PM, "Ed Pastore" <email@hidden> wrote:

On Jun 12, 2006, at 7:15 PM, David Haines wrote:

If you haven't already, I'd suggest putting in place the fix first
noted
here:
http://www.afp548.com/forum/viewtopic.php?forum=26&showtopic=11170

"(stop) mail, (move) /var/amavis/.spamassassin aside and replaced
it with a
symlink to /var/clamav/.spamassassin"

Thanks for the help, David. From there, I ended up on these pages: http://discussions.apple.com/thread.jspa?messageID=2280532 http://wiki.apache.org/spamassassin/SpamAssassin_on_Mac_OS_X_Server (note that the latter one contains an incorrect (reversed) iteration of the symbolic link)

Apparently everyone agrees that Apple's SA implementation is either
messed up or deliberately hobbled.

I ended up creating the symbolic link as described in several places:
sudo -s
cd /var/amavis
mv .spamassassin .spamassassin.old
su clamav
ln -s /var/clamav/.spamassassin /var/amavis/.spamassassin

...then fixing the /etc/mail/spamassassin/local.cf file:
change 'auto_learn' to 'bayes_auto_learn'
change 'safe_reporting' to 'report_safe'
comment out 'use_terse_report 0'
comment out 'subject_tag' and 'rewrite_subject'
(note that it is "report_safe" and not "safe_report" as indicated in
some places)

...then setting up the junkmail and notjunkmail accounts as Apple
recommends

...then using spamtrainer <http://osx.topicdesk.com/downloads/> for
the actual scanning instead of either of Apple's scripts (strangely,
hardly anyone even talks about sa-learn).

Now, after scanning 200+ spams and 200+ non-spams (which takes quite
a long time with spamtrainer), Bayesian scanning appears to be
working. I can tell because the X-Spam-Status tag in my mail headers
now contains a BAYES tag:
X-Spam-Status:  Yes, hits=5.33 tagged_above=-999 required=5
tests=BAYES_50, HELO_DYNAMIC_IPADDR2, HTML_40_50, HTML_MESSAGE,
MIME_HTML_ONLY

That was NOT trivial (considering that this is supposed to already be
a feature of Tiger). The discussion in the afp548 thread starts on
10.4.2. This misconfiguration (deliberate hobbling?) persists in
10.4.6. wtf?

Anyway, thanks!


The configuration created by Server Admin both for Postfix and amavis (which
calls SpamAssassin), are functional but basic. Barring the bug noted above
which still seems to linger.


I consider it a launching point of sorts, but about all I use Server Admin
for anymore (after some initial configuration at first setup) is getting a
quick overview of things. Hey, sometimes I'll "go wild" and use it to stop
AFP, but in general I stop/start services via the Terminal/"command- line"
since I'm there already.


I'm not using Razor or pyzor for that matter, as there's little need in my
case.


As for that Apple Discussions thread, with no disrespect meant to the
author, there's (as you've found) a few typos or inaccuracies, and - apart
from a handful or so of knowledgeable posters - the Discussions is a
dangerous mix of unrealistic expectations mashed up with lack of experience
and/or willingness to learn; a fair amount of fixitforme-seeking, expecting
or even demanding; ranting and large amounts of silliness amidst the few
well-informed replies.



This seems to be one of the longest lasting bugs ever, is it even filed as a bug?


/ Daniel



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Re: SpamAssassin Training Error (From: David Haines <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.