On Sun, 8 Aug 2010 20:05:42 -0700 Mark Dadgar <m...@pdc-racing.net> wrote:
> OK, so I said I'd try upgrading my 3.8.0 install and I also said I feared it > would be painful. > > It's painful. > > I installed from EPEL and created a new config file based on my old settings. > The first thing I discovered is that the EPEL version of dspam is broken up > into multiple packages and there doesn't seem to be any central listing of > what the packages are or even that there are more than one. I spent quite a > while trying to figure out where it put the web-ui components until I > realized that they weren't installed. :) > > So I've finally got everything installed. Postfix will pass email to dspam. > dspam will refllect it in the Web UI and will even retrain, apparently. > > What dspam will NOT do is actually forward email back to postfix for final > delivery. So basically all legitimate email is disappearing once it hits > dspam, never to be seen again. > > This is kind of a problem. Any help would be appreciated. Config files > below. > > My setup is fairly simple. Postfix passes inbound email to dspam daemon via > socket. dspam considers it and passes it back to postfix on port 10026, > which is configured to skip dspam filtering. > > I did not change the postfix config at all. > Could you post some log entries showing the processing? It's hard to guess what could be wrong without additional information. > Thanks! > > - Mark > ----- > m...@pdc-racing.net > -------- > [r...@mail mark]# dspam --version > > DSPAM Anti-Spam Suite 3.9.0 (agent/library) > > Copyright (c) 2002-2009 DSPAM Project > http://dspam.sourceforge.net. > > DSPAM may be copied only under the terms of the GNU General Public License, > a copy of which can be found with the DSPAM distribution kit. > > Configuration parameters: '--build=i386-redhat-linux-gnu' > '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' > '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' > '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' > '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' > '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' > '--infodir=/usr/share/info' '--enable-long-usernames' '--enable-syslog' > '--enable-large-scale' '--disable-domain-scale' '--disable-homedir' > '--enable-virtual-users' '--enable-preferences-extension' > '--with-mysql-includes=/usr/include/mysql' > '--with-mysql-libraries=/usr/lib/mysql' > '--with-pgsql-includes=/usr/include/pgsql' '--with-pgsql-libraries=/usr/lib' > '--enable-daemon' '--enable-external-lookup' > '--with-storage-driver=hash_drv,mysql_drv,pgsql_drv,sqlite3_drv' > '--with-dspam-home=/var/lib/dspam' '--with-dspam-owner=dspam' > '--with-dspam-group=mail' '--with-dspam-home-group=mail' '--w it > h-dspam-mode=2511' '--with-logdir=/var/log/dspam' '--sysconfdir=/etc' > 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables' 'CXXFLAGS=-O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables' 'FFLAGS=-O2 -g -pipe -Wall > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables' 'build_alias=i386-redhat-linux-gnu' > 'host_alias=i386-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu' > > > -------- > dspam.conf: > > [r...@mail mark]# cat /etc/dspam.conf > Home /var/lib/dspam > > StorageDriver /usr/lib/dspam/libmysql_drv.so > > DeliveryHost 127.0.0.1 > DeliveryPort 10026 > DeliveryIdent localhost > DeliveryProto SMTP > > OnFail error > > Trust root > Trust dspam > Trust apache > Trust mail > Trust mailnull > Trust smmsp > Trust daemon > Trust postfix > Trust apache > Trust mark > Trust dspamcgi > > Debug * > > TrainingMode teft > > TestConditionalTraining on > > Feature noise > Feature whitelist > > Algorithm graham burton > > Tokenizer osb > > PValue bcr > > WebStats on > > Preference "trainingMode=TEFT" # { TOE | TUM | TEFT | NOTRAIN > } -> default:teft > Preference "spamAction=quarantine" # { quarantine | tag | deliver } -> > default:quarantine > Preference "spamSubject=[SPAM]" # { string } -> default:[SPAM] > Preference "statisticalSedation=5" # { 0 - 10 } -> default:0 > Preference "enableBNR=on" # { on | off } -> default:off > Preference "enableWhitelist=on" # { on | off } -> default:on > Preference "signatureLocation=message" # { message | headers } -> > default:message > Preference "tagSpam=off" # { on | off } > Preference "tagNonspam=off" # { on | off } > Preference "showFactors=off" # { on | off } -> default:off > Preference "optIn=off" # { on | off } > Preference "optOut=off" # { on | off } > Preference "whitelistThreshold=10" # { Integer } -> default:10 > Preference "makeCorpus=off" # { on | off } -> default:off > Preference "storeFragments=off" # { on | off } -> default:off > Preference "localStore=" # { on | off } -> default:username > Preference "processorBias=on" # { on | off } -> default:on > Preference "fallbackDomain=off" # { on | off } -> default:off > Preference "trainPristine=off" # { on | off } -> default:off > Preference "optOutClamAV=off" # { on | off } -> default:off > Preference "ignoreRBLLookups=off" # { on | off } -> default:off > Preference "RBLInoculate=off" # { on | off } -> default:off > > AllowOverride enableBNR > AllowOverride enableWhitelist > AllowOverride fallbackDomain > AllowOverride ignoreGroups > AllowOverride ignoreRBLLookups > AllowOverride localStore > AllowOverride makeCorpus > AllowOverride optIn > AllowOverride optOut > AllowOverride optOutClamAV > AllowOverride processorBias > AllowOverride RBLInoculate > AllowOverride showFactors > AllowOverride signatureLocation > AllowOverride spamAction > AllowOverride spamSubject > AllowOverride statisticalSedation > AllowOverride storeFragments > AllowOverride tagNonspam > AllowOverride tagSpam > AllowOverride trainPristine > AllowOverride trainingMode > AllowOverride whitelistThreshold > AllowOverride dailyQuarantineSummary > > MySQLServer /var/lib/mysql/mysql.sock > MySQLUser dspam > MySQLPass XXXXX > MySQLDb dspam > MySQLCompress true > MySQLReconnect true > > MySQLSupressQuote off > > MySQLUIDInSignature on > > PurgeSignatures 14 # Stale signatures > PurgeNeutral 90 # Tokens with neutralish probabilities > PurgeUnused 90 # Unused tokens > PurgeHapaxes 30 # Tokens with less than 5 hits (hapaxes) > PurgeHits1S 15 # Tokens with only 1 spam hit > PurgeHits1I 15 # Tokens with only 1 innocent hit > > LocalMX 127.0.0.1 > > SystemLog on > UserLog on > > TrainPristine off > > Opt out > > ParseToHeaders on > ChangeModeOnParse on > ChangeUserOnParse full > > ClamAVPort 3310 > ClamAVHost 127.0.0.1 > ClamAVResponse spam > > ServerHost 127.0.0.1 > ServerPID /var/run/dspam.pid > > ServerMode standard > > ServerDomainSocketPath "/tmp/dspam.sock" > > ProcessorURLContext on > > ProcessorBias on > > StripRcptDomain off > > -------- > > packages installed: > > [r...@mail mark]# rpm -qa | grep dspam > dspam-client-3.9.0-7.el5 > dspam-libs-3.9.0-7.el5 > dspam-mysql-3.9.0-7.el5 > dspam-3.9.0-7.el5 > dspam-web-3.9.0-7.el5 > > > ----------- > > Postfix master.cf: > > # ========================================================================== > # service type private unpriv chroot wakeup maxproc command + args > # (yes) (yes) (yes) (never) (100) > # ========================================================================== > smtp inet n - n - 50 smtpd > -o content_filter=lmtp:unix:/tmp/dspam.sock > ### local config starts here### > # dspam reinjection port > localhost:10026 inet n - n - - smtpd > -o content_filter= > -o > receive_override_options=no_unknown_recipient_checks,no_header_body_checks > -o smtpd_helo_restrictions= > -o smtpd_client_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o mynetworks=127.0.0.0/8 > -o smtpd_authorized_xforward_hosts=127.0.0.0/8 > # mailman bypass port (skips dspam filter) > localhost:10027 inet n - n - - smtpd > -o content_filter= > -o > receive_override_options=no_unknown_recipient_checks,no_header_body_checks > -o smtpd_helo_restrictions= > -o smtpd_client_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o mynetworks=127.0.0.0/8 > # local network outbound email bypass port (skips dspam filter) > 10030 inet n - n - - smtpd > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o mynetworks=127.0.0.1,172.16.0.0/28,64.81.247.95,192.168.60.0/24 > # SMTP AUTH port for mail relaying (skips dspam filter) > 10031 inet n - n - - smtpd > -o smtpd_client_restrictions= > -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-user > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user