I've installed mail-filter/spamassassin-fuzzyocr and mail-filter/spamassassin and using spamassassin as milter for sendmail. Now my logfile is full of the following lines: May 12 15:57:55 xxx spamd[6681]: Can't open /var/log/FuzzyOcr.log for writing, check permissions at /usr/lib/perl5/vendor_perl/5.8.8/FuzzyOcr/Logging.pm line 35. # ls -ld /var/log drwxr-xr-x 31 root root 3688 May 10 03:13 /var/log Reproducible: Always Steps to Reproduce: Expected Results: i'd expected that spamassassin and related stuff is using the syslog (mail/* facility). # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-Pentium_II_-Deschutes-with-gentoo-1.12.13 Timestamp of tree: Tue, 11 May 2010 05:30:01 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.4.6, 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /var/bind /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://gentoo.ITDNet.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de http://ftp.du.se/pub/os/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de en_IE en_GB en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://portage/gentoo-portage" USE="aac apache2 avahi bash-completion bcmath berkdb bzip2 calendar caps cdr cgi clamd cli cracklib crypt ctype cups curl curlwrappers cxx dbus dri encode ethereal exif expat fastcgi ffmpeg flac flatfile foomaticdb fortran fpx ftp gd gdbm geoip gif gmp graphviz gs hardened hardenedphp iconv idled imagemagick imap imlib inifile innodb ipv6 jbig jpeg jpeg2k kpathsea lame latex lcms ldap libwww logrotate logwatch mad mhash milter mmap mmx mng modules mp3 mpeg mudflap mysql mysqli ncurses netpbm nls nptl nptlonly oav ogg openmp pam parse-clocks pcntl pcntpl pcre pdf pdflib perl php pic pie png pnp posix postgres ppds pppd python quicktime radius raw readline reflection ruby samba sasl session sharedext sharedmem simplexml slp snmp snortsam soap sockets sox speex spell spl sqlite sqlite3 ssl subversion svg sysfs syslog sysvipc tcpd theora tidy tiff transparent-proxy truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vhosts vim-syntax virus-scan vorbis wddx wmf x264 x86 xine xinetd xml xml2 xmlrpc xorg xpm xsl xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_basic authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_IE en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm also seeing these messages. spamd[5756]: Can't open /var/log/FuzzyOcr.log for writing, check permissions at /usr/lib/perl5/vendor_perl/5.8.8/FuzzyOcr/Logging.pm line 35, <GEN106> line 417. /var/log/FuzzyOcr.log is owned by root:fuzzyocr
meanwhile, after updating dev-lang/perl-5.12.2-r1 and mail-filter/spamassassin-fuzzyocr-3.6.0-r2, i get the following: Oct 27 16:14:28 XXX spamd[4628]: rules: failed to run FUZZY_OCR test, skipping: Oct 27 16:14:28 XXX spamd[4628]: (Insecure dependency in open while running with -T switch at /usr/lib/perl5/vendor_perl/5.12.2/FuzzyOcr/Logging.pm line 34. Oct 27 16:14:28 XXX spamd[4628]: )
Masked for removal
Package removed