> First, a big "thank you" to the developers!
> 
> Using the bayes learner, starting it with several 100 spams
> and about 1000 hams, and then mainly feeding it spam that
> wasn't caught in the past had a tremendously positive effect here.
> At the momemnt, spamassassin is almost perfect for us.
> 
> We have one problem though: 
> In some cases of "restart", the Bayes part just never starts
> working.  I see that no BAYES_.. entries are in the X-Spam-Status
> and that the scores or 2nd, not 4th (of the 4 numeric scores for
> most rules).  Has anyone an idea how this could happen?
> 
> Here's our setup:
> We use "spamd" from procmail and procmail as "milter-like" from
> sendmail (on Solaris).  
> 
> To start sendmail when booting, or (restarting after
> configuration change), we have the following in /etc/init.d/sendmail
> 
>         # Start daemons.
>         /usr/bin/newaliases > /dev/null 2>&1
>     <...>
> 
>         # Start spamassassin
>         if [ -f /etc/init.d/spamd ]; then
>                 /etc/init.d/spamd start
>         fi
> 
>         # Start amavisd
>         if [ -f /etc/init.d/amavis ]; then
>                 /etc/init.d/amavis start
>         fi
> 
>         # Start sendmail
>     <....> 
> 
>       # Restart syslog-ng
>       /etc/init.d/syslog-ng stop
>       /etc/init.d/syslog-ng start
>         ;;
> 
> Now, if I *again* do an   /etc/init.d/spamd restart
> the bayes part of spamd will kick in.. 
> So I know how to remedy the problem, but I still wonder how the
> problems can happen.

One possability.  If your systems runs everything in /etc/init.d
on startup, you would end up running /etc/init.d/spamd start
twice.  That might cause problems.  Most systems don't run scripts
in /etc/init.d directly, but instead run whatever is found in other
directories such as /etc/rc2.d, where the files in those directories
are usually links to the files in /etc/init.d.  If a link to
/etc/init.d/spamd is found in the correct directory, it will be run
again by the startup system.
> 
> You may ask/answer me off list too (I'm on the digest only anyway).
> Thank you in advance,
> 
> Martin Maechler <[EMAIL PROTECTED]>   http://stat.ethz.ch/~maechler/

Tom schulz
Applied Dynamics Intl.
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to