2 echo "You must run 'sa-update' to install spam rules before use."
6 if [ "$(vercmp $2 3.4)" -lt 0 ]; then
7 echo '/var/lib/spamassassin is now owned by the spamd user. spamassassin.service'
8 echo 'will also run under that user. You may need to adjust your setup.'
11 # Compile rules, if rules have previously been compiled, and it's possible
12 if type re2c &>/dev/null && type sa-compile &>/dev/null && [[ -d /var/lib/spamassassin/compiled ]]; then
13 echo "Detected compiled rules, running sa-compile..."
14 sa-compile > /dev/null 2>&1