Hi, Le vendredi 24 juillet 2009 à 18:05 +0200, Steve a écrit : > -------- Original-Nachricht -------- > > Datum: Fri, 24 Jul 2009 12:00:25 -0400 > > Von: Roman Gelfand <[email protected]> > > An: Steve <[email protected]> > > CC: [email protected] > > Betreff: Re: [Dspam-user] DSPAM Control Center WebUI > > > Thanks for explanation. > > > > config.site file is not found any place. > > > I am lost here. Who ever has Debian on his system and that old 3.6.8 > should quickly help me to understand what Debian has done to the DSPAM > package and where the information/configuration is hidden in Debian.
This is something quite strange in the official Debian package indeed. This output is broken, and seems to come from the configure script: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" These packages were totally unmaintained for months, unfortunately. Here are the configuration parameters of the Debian package used by Roman: ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --includedir=/usr/include --mandir=/usr/share/man --infodir=/usr/share/info --with-logdir=/var/log/dspam/ --localstatedir=/var --libexecdir=/usr/lib/dspam --srcdir=.. --with-dspam-home=/var/spool/dspam --sysconfdir=/etc/dspam --enable-domain-scale --enable-signature-headers --with-delivery-agent=/usr/bin/procmail --enable-daemon --with-mysql-includes=/usr/include/mysql --with-pgsql-includes=`pg_config --includedir` --with-storage-driver="libdb4_drv,mysql_drv,pgsql_drv,sqlite3_drv,hash_drv" --enable-ldap --enable-debug --enable-virtual-users --enable-preferences-extension --enable-clamav > > > mail:~# find /var/spool/dspam/data/ -maxdepth 2 -mindepth 1 -type d > > /var/spool/dspam/data/abc.com > > /var/spool/dspam/data/abc.com/rgelfand > > > This looks like domain scale. > > > > /var/spool/dspam/data/2 > > /var/spool/dspam/data/1 > > > This could be anything. Domain or large scale. Debian packages are built with domain scale > > > BTW... all of the /var/spool/dspam subdirectories I manually created. > > > What? You created them? Why? DSPAM should create them not you. I confirm they should be even on Debian :) Roman, these directories are created once some mail are filered through dspam, not before, hence if your setup isn't complete, this is the reason why they were not yet created automatically. > > > > > > > > > On Fri, Jul 24, 2009 at 11:25 AM, Steve <[email protected]> wrote: > > > > > > > > -------- Original-Nachricht -------- > > > > Datum: Fri, 24 Jul 2009 10:50:28 -0400 > > > > Von: Roman Gelfand <[email protected]> > > > > An: Steve <[email protected]> > > > > CC: [email protected] > > > > Betreff: Re: [Dspam-user] DSPAM Control Center WebUI > > > > > > > Actually, the name ended up being /etc/dspam/webfrontend.conf. I also > > > > noticed that the reason why error was generated is because file * > > > > /var/spool/dspam/data/abc.com/rgelfand/rgelfand.log. I suppose this > > log > > > > contains emails which are loaded from dspam mysql db. > > > > > > > No emails are there in this file. It's a file holding a timestamp, > > status > > > of tagging, sender, subject, signature, etc... > > > > > > > > > > Assuming > > > > all permissions are set correctly, at which point data is transferred > > > from > > > > db to this file? * > > > > > > > Never. It's more or less a log used by the DSPAM Web UI to read > > signatures > > > and such. > > > > > > > > > > Below is the contents > > > > > > > > #!/usr/bin/perl > > > > # DSPAM > > > > # COPYRIGHT (C) 2002-2006 JONATHAN A. ZDZIARSKI > > > > # > > > > # This program is free software; you can redistribute it and/or > > > > # modify it under the terms of the GNU General Public License > > > > # as published by the Free Software Foundation; version 2 > > > > # of the License. > > > > # > > > > # This program is distributed in the hope that it will be useful, > > > > # but WITHOUT ANY WARRANTY; without even the implied warranty of > > > > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > > > # GNU General Public License for more details. > > > > # > > > > # You should have received a copy of the GNU General Public License > > > > # along with this program; if not, write to the Free Software > > > > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA > > 02111-1307, > > > > USA. > > > > > > > > # This configuration file is read by all the CGI scripts to configure > > > both > > > > the > > > > # environment that DSPAM is working in and the way it will display > > > > information > > > > # to the web user. > > > > # Default DSPAM enviroment > > > > $CONFIG{'DSPAM_HOME'} = "/var/spool/dspam"; > > > > $CONFIG{'DSPAM_BIN'} = "/usr/bin"; > > > > $CONFIG{'DSPAM'} = $CONFIG{'DSPAM_BIN'} . "/dspam"; > > > > $CONFIG{'DSPAM_STATS'} = $CONFIG{'DSPAM_BIN'} . "/dspam_stats"; > > > > $CONFIG{'DSPAM_ARGS'} = "--deliver=innocent --class=innocent " . > > > > "--source=error --user %CURRENT_USER% -d > > %u"; > > > > $CONFIG{'TEMPLATES'} = "/usr/share/dspam/upstream-templates/"; > > # > > > > Location of HTML templates > > > > $CONFIG{'ALL_PROCS'} = "ps auxw"; # use ps -deaf for > > > Solaris > > > > $CONFIG{'MAIL_QUEUE'} = "mailq | grep '^[0-9,A-F]' | wc -l"; > > > > $CONFIG{'WEB_ROOT'} = "./"; # URL location of included htdocs/ > > files > > > > # Default DSPAM display > > > > #$CONFIG{'DATE_FORMAT'} = "%d.%m.%Y %H:%M"; # Date format in strftime > > > > style > > > > # if undefined use > > default > > > > DSPAM display format > > > > $CONFIG{'HISTORY_SIZE'} = 799; # Number of items in history > > > > $CONFIG{'HISTORY_PER_PAGE'} = 100; > > > > $CONFIG{'HISTORY_DUPLICATES'} = "yes"; # Wether to show duplicate > > > entries > > > > in history "yes" or "no" > > > > $CONFIG{'MAX_COL_LEN'} = 50; # Max chars in list columns > > > > $CONFIG{'SORT_DEFAULT'} = "Rating"; # Show quarantine by "Date" or > > > > "Rating" > > > > $CONFIG{'3D_GRAPHS'} = 1; > > > > $CONFIG{'OPTMODE'} = "NONE"; # OUT=OptOut IN=OptIn NONE=not > > > > selectable > > > > $CONFIG{'LOCAL_DOMAIN'} = "localhost"; > > > > # Add customized settings below > > > > $CONFIG{'LOCAL_DOMAIN'} = "abc.com"; > > > > $ENV{'PATH'} = "$ENV{'PATH'}:$CONFIG{'DSPAM_BIN'}"; > > > > > > > Is that all? Where is the info if it is large or domain scale? What > > about > > > those two files mentioned in the output of dspam --version: > > > * /usr/share/config.site > > > * /usr/etc/config.site > > > > > > What do they have inside? 3.6.8 is so old that I don't remember > > everything > > > what it had (I mean the options). I think the options where there in > > 3.6.8 > > > but called differently then now. I don't remember. Anyway... Have you > > > enabled large scale or domain scale? If you don't know, then please do > > > quickly run this here and post the output: > > > find /var/spool/dspam/data/ -maxdepth 2 -mindepth 1 -type d > > > > > > > > > Ahh. I went now and looked on my old download repository. Yes. 3.6.8 had > > > large-/domain scale functionality. And the configure.pl script you > > posted > > > lacks some stuff (extra went and checked 3.6.8 source package): > > > ------ > > > # Autodetect filesystem layout and preference options > > > $CONFIG{'AUTODETECT'} = 1; > > > > > > # Or, if you're running dspam.cgi as untrusted, it won't be able to > > > auto-detect > > > # so you will need to specify some features manually: > > > #$CONFIG{'AUTODETECT'} = 0; > > > #$CONFIG{'LARGE_SCALE'} = 0; > > > #$CONFIG{'DOMAIN_SCALE'} = 0; > > > #$CONFIG{'PREFERENCES_EXTENSION'} = 0; > > > > > > $CONFIG{'DSPAM_CGI'} = "dspam.cgi"; > > > ------ > > > > > > > > > // Steve > > > > > > > > > > > On Fri, Jul 24, 2009 at 9:59 AM, Steve <[email protected]> wrote: > > > > > > > > > > > I didn't find configure.pl on the entire machine. > > > > > > > > > > > > This file is /etc/dspam-webfrontend.conf on Debian > > > > > > > > > > > Then I need that file. > > > > > > > > > > > > > > > > Cheers, > > > > > > Julien > > > > > > > > > > > // Steve > > > > > -- > > > > > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > > > > > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > _______________________________________________ > > > > > Dspam-user mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/dspam-user > > > > > > > > > > > -- > > > Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 > > - > > > sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser > > > > > > > > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Dspam-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/dspam-user > > > > ------------------------------------------------------------------------------ _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
