First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61670
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Wagner <mark@lanfear.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61670 depends on: Show dependency tree
Show dependency graph
Bug 61670 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-25 11:42 0000
When using maildrop and the LDA and using the dspam cgi script to deliver ham
misclassified as spam, maildrop complains:

"Aug 25 11:25:26 [maildrop] You are not a trusted user."

This is because the user the cgi runs as--apache--is not a maildrop trusted
user.

Versions:
mail-filter/dspam-3.1.1
www-apps/dspam-web-3.1.1
mail-filter/maildrop-1.7.0-r1
net-www/apache-1.3.31-r3

One possible fix is simple:

-- /usr/portage/mail-filter/maildrop/maildrop-1.7.0-r1.ebuild.dist    
2004-08-25 11:40:50.018373162 -0700
+++ /usr/portage/mail-filter/maildrop/maildrop-1.7.0-r1.ebuild  2004-08-25
11:41:28.062818890 -0700
@@ -79,7 +79,7 @@
                --enable-maildirquota \
                --enable-use-dotlock=1 \
                --enable-restrict-trusted=1 \
-               --enable-trusted-users='root mail daemon postmaster qmaild mmdf
vmail' \
+               --enable-trusted-users='apache dspam root mail daemon
postmaster qmaild mmdf vmail' \
                --with-default-maildrop=./.maildir/ \
                --enable-sendmail=/usr/sbin/sendmail \
                ${myconf} || die

I threw "dspam" in there for the hell of it.


Reproducible: Always
Steps to Reproduce:
1. Setup dspam to use maildrop.
2. Install dspam-web.
3. Attempt to deliver a misclassified message using cgi script.

Actual Results:  
"Aug 25 11:25:26 [maildrop] You are not a trusted user."

Expected Results:  
Delivered message.

Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/mail/dspam/config
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib accessibility acl acpi adns aim alsa apache audiofile
avi cgi crypt cscope cups curl dga directfb divx4linux djbfft dvd emacs encode
erandom esd ethereal fbcon fftw flac foomaticdb gd gdbm geoip gif gimpprint gmp
gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile icq idea
imagemagick imap imlib innodb ipv6 java javamail jbig jikes jpeg junit kde lcms
libg++ libwww lm_sensors lua lzw-tiff mad maildrop mailwrapper mbox mikmod
milter mmap mmx mng motif mozilla mpeg mysql ncurses nethack nls nptl offensive
oggvorbis openal opengl oss pam parse-clocks pcre pda pdflib perl pic plotutils
png postgres ppds python qt quicktime readline ruby samba sasl scanner sdl skey
slang slp snmp speex spell ssl svg svga tcltk tcpd tetex theora threads tiff
truetype trusted unicode usb vhosts videos wmf wxwindows x86 xml xml2 xmms
xrandr xv xvid zlib"

------- Comment #1 From Tom Martin (RETIRED) 2004-08-28 05:22:57 0000 -------
Resolved in CVS - thanks very much for reporting!

First Last Prev Next    No search results available      Search page      Enter new bug