Matt Kettler wrote:

Yes, it's covered in the UPGRADE file
[..]
sa-learn --sync

Thanks Mark,

Meanwhile, I discovered that a few messages were still delivered
and filtered by SA 2.6 on another mail delivery server and I think
that's what was causing trouble. I made sure mail was coming through
SA 3.1.8 only and I ran the following script on behalf of concerned
users (procmail tests the presence of ~/.nofilterspam before calling
spamc for users who do not want SA and I use this to prevent SA
interfering during the conversion) :

#!/bin/sh
#
if [ -f ~/.nofilterspam ] ; then
  echo "SPAM filtering disabled by ~/.nofilterspam"
else
  touch ~/.nofilterspam
  if /usr/bin/sa-learn -D --sync
  then
     echo "Conversion to bayes DB3 was successful"
  else
     echo "Conversion to bayes DB3 FAILED !"
     rm  ~/.nofilterspam
     exit 1
  fi
  rm  ~/.nofilterspam
fi
exit 0

Problem is that it seems I would have to run this script for 200 or so
users after I put SA 3.1.8 in prod on our main server...

Thanks.

JM


--
------------------------------------------------------------------------
Jean-michel BARBET                    | Tel: +33 (0)2 51 85 84 86
Laboratoire SUBATECH Nantes France    | Fax: +33 (0)2 51 85 84 79
CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: [EMAIL PROTECTED]
------------------------------------------------------------------------

Reply via email to