Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220773 - mail-filter/spamassassin-fuzzyocr should not log into /etc/mail/spamassassin/
Summary: mail-filter/spamassassin-fuzzyocr should not log into /etc/mail/spamassassin/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-07 15:07 UTC by Thomas Beutin
Modified: 2009-11-13 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2008-05-07 15:07:04 UTC
mail-filter/spamassassin-fuzzyocr tries to log somewhere into the configuration area:
May  6 18:14:19 myhost spamd[513]: Can't open /etc/mail/spamassassin/FuzzyOcr.log for writing, check permissions at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/FuzzyOcr.pm line 426.

IMHO it should use syslog (prefered) or log into a file in /var/log (ok, but needs separate attention in logrotate).



Reproducible: Always

Steps to Reproduce:
use SA with mail-filter/spamassassin-fuzzyocr enabled an send a mail with an image attached to this mailserver
Comment 1 Thomas Beutin 2008-05-07 15:08:59 UTC
ATM i'm using mail-filter/spamassassin-fuzzyocr-2.3b

# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Pentium II (Deschutes)
Timestamp of tree: Wed, 07 May 2008 05:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.3.6-r4, 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
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 /usr/share/config /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
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"
LINGUAS="de en fr es pt it en_GB en_IE"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://portage/gentoo-portage"
USE="aac apache2 avahi bash-completion bcmath berkdb bzip2 caps cdr cgi clamd cli cracklib crypt ctype cups curl curlwrappers 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 isdnlog jbig jpeg jpeg2k lame latex lcms ldap libwww logrotate logwatch mad mhash midi milter mmap mmx mng 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 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 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile auth_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 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 fr es pt it en_GB en_IE" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Bernard Cafarelli gentoo-dev 2009-11-13 15:50:59 UTC
This is fixed in >=3.5.1 versions, I hope to ask for 3.6.0 stabilization soon (closed many bugs, and is needed for stable SA-3.2)