Package: spamassassin
Version: 3.3.2-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

the sa-update --import command is failing because the
/etc/spamassassin/sa-update-keys
directory is missing.
Please install it in the spamassassin package with
permissions 0700 (otherwise gpg prints a warning about
insecure directory permissions).

As you can see below, I use sa-update to download a custom
channel for german spam rules.

Regards,
  Bastian

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.19rum2 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spamassassin depends on:
ii  libarchive-tar-perl             <none>
ii  libhtml-parser-perl             3.69-2
ii  libnet-dns-perl                 0.66-2+b2
ii  libnetaddr-ip-perl              4.061+dfsg-1
ii  libsocket6-perl                 0.23-1+b2
ii  libsys-hostname-long-perl       1.4-2
ii  libwww-perl                     6.04-1
ii  perl                            5.14.2-11
ii  perl-modules [libio-zlib-perl]  5.14.2-11

Versions of packages spamassassin recommends:
ii  gcc                        4:4.7.0-6
ii  gnupg                      1.4.12-4
ii  libc6-dev                  2.13-33
ii  libio-socket-inet6-perl    2.69-2
ii  libmail-spf-perl           <none>
ii  make                       3.81-8.2
ii  perl [libsys-syslog-perl]  5.14.2-11
ii  re2c                       0.13.5-1
ii  spamc                      3.3.2-2

Versions of packages spamassassin suggests:
pn  libdbi-perl                   <none>
pn  libio-socket-ssl-perl         1.74-1
pn  libmail-dkim-perl             <none>
pn  libnet-ident-perl             <none>
pn  perl [libcompress-zlib-perl]  5.14.2-11
pn  pyzor                         <none>
pn  razor                         <none>

- -- Configuration Files:
/etc/cron.daily/spamassassin changed:
CRON=0
test -f /etc/default/spamassassin && . /etc/default/spamassassin
test -x /usr/bin/sa-update || exit 0
test -x /etc/init.d/spamassassin || exit 0
if [ "$CRON" = "0" ] ; then
    exit 0
fi
die_with_lint() {
    spamassassin --lint -D 2>&1
    exit 1
}
do_compile() {
    if [ -x /usr/bin/re2c -a -x /usr/bin/sa-compile \
        -a -d /var/lib/spamassassin/compiled ]; then
        sa-compile --quiet
        # Fixup perms -- group and other should be able to
        # read and execute, but never write.  Works around
        # sa-compile's failure to obey umask.
        if [ -d /var/lib/spamassassin ]; then
            chmod -R go-w,go+rX /var/lib/spamassassin/
        fi
    fi
}
reload() {
    # Reload
    if which invoke-rc.d >/dev/null 2>&1; then
        invoke-rc.d spamassassin reload > /dev/null
    else
        /etc/init.d/spamassassin reload > /dev/null
    fi
    if [ -d /etc/spamassassin/sa-update-hooks.d ]; then
        run-parts --lsbsysinit /etc/spamassassin/sa-update-hooks.d
    fi
}
RANGE=3600
number=`od -vAn -N2 -tu4 < /dev/urandom`
number=`expr $number "%" $RANGE`
sleep $number
umask 022
sa-update --gpgkey 40F74481 --channel sa.zmi.at
case $? in
    0)
        # got updates!
        spamassassin --lint || die_with_lint
        do_compile
        reload
        ;;
    1)
        # no updates
        exit 0
        ;;
    2)
        # lint failed!
        die_with_lint
        ;;
    *)
        echo "sa-update failed for unknown reasons" 1>&2
        ;;
esac

/etc/default/spamassassin changed:
ENABLED=1
OPTIONS="--create-prefs --max-children 5 --helper-home-dir"
PIDFILE="/var/run/spamd.pid"
CRON=0

/etc/spamassassin/local.cf changed:
required_score 5.5
report_safe 0
use_bayes 1
bayes_auto_learn 1
bayes_auto_learn_threshold_spam 9.0
bayes_auto_learn_threshold_nonspam -0.1
bayes_ignore_header X-getmail-filter-classifier
ok_locales en
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status
score RCVD_IN_MAPS_RBL 3.4
score RCVD_IN_MAPS_DUL 3.0
score RCVD_IN_MAPS_RSS 3.2
score RCVD_IN_MAPS_NML 2.0
score RCVD_IN_SORBS_DUL 3.0
score RCVD_IN_SORBS_WEB 1.0
score RCVD_IN_SBL 12.0
score RCVD_IN_XBL 12.0
score URIBL_SBL 5.0
score URIBL_SC_SURBL 3.0
score URIBL_WS_SURBL 1.0
score URIBL_PH_SURBL 2.0
score URIBL_OB_SURBL 3.0
score URIBL_AB_SURBL 2.0
score URIBL_JP_SURBL 2.5
score SUBJECT_SEXUAL 5.0
score FREE_PORN 3.2
score CUM_SHOT 3.2
score LIVE_PORN 3.2
score DRUGS_ERECTILE 3.0
score HTML_IMAGE_ONLY_04 3.0
score HTML_IMAGE_ONLY_08 3.0
score BAYES_99 5.4
score BAYES_95 3.4
score BAYES_80 3.0
score BAYES_60 2.5
score BAYES_50 2.2
score BAYES_40 1.0
score BAYES_20 0.3
score BAYES_05 -0.5
score BAYES_00 -2.0
score HTML_MESSAGE 0.5
score MIME_HTML_ONLY 0.5
score MIME_CHARSET_FARAWAY 8.0
score CHARSET_FARAWAY_HEADER 8.0
score RCVD_ILLEGAL_IP 0.5
score UNPARSEABLE_RELAY 1.0
score FROM_EXCESS_BASE64 0.5
score SUBJ_BUY 0.5
score DATE_IN_PAST_03_06 0.5
score STOX_REPLY_TYPE 0.5
score RCVD_IN_DNSWL_LOW 0.3
score RDNS_NONE 0.3
header   CALVIN_LINKCHECKER Subject =~ /linkchecker|webcleaner|qombo/i
describe CALVIN_LINKCHECKER subject refers to one of my projects
score    CALVIN_LINKCHECKER -3.0
body     CALVIN_OEM /OEM software/i
describe CALVIN_OEM Software spam
score    CALVIN_OEM 0.5
header   CALVIN_MAILER_DAEMON Subject =~ /Autoreply:|Undelivered Mail Returned 
to Sender|failure notice|Returned mail:|Warning: message$
describe CALVIN_MAILER_DAEMON subject refers to returned mail
score    CALVIN_MAILER_DAEMON 3.1
ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
shortcircuit USER_IN_WHITELIST       on
shortcircuit USER_IN_DEF_WHITELIST   on
shortcircuit USER_IN_ALL_SPAM_TO     on
shortcircuit SUBJECT_IN_WHITELIST    on
shortcircuit USER_IN_BLACKLIST       on
shortcircuit USER_IN_BLACKLIST_TO    on
shortcircuit SUBJECT_IN_BLACKLIST    on
shortcircuit BAYES_99                spam
shortcircuit BAYES_00                ham
endif # Mail::SpamAssassin::Plugin::Shortcircuit


- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk/OSMEACgkQeBwlBDLsbz67NgCeJWc3dRieFbhQQ+OKim0NuRdP
S5QAn1mqmA/OmtrHDQoRvKVc2shTLAJ7
=bhox
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to