Hello eveyone, i have a trouble with my current installation of dspam. Today i received a spam email that was correctly caught by dspam as spam (i saw this in the web interface), but caused dspam to return an error message and infinitely defer it. I tried to search for something of similar in the past mails (both dspam-dev and dspam-user) but didn't found anything of similar. Maybe i just done a bad search. My setup is postfix ==LMTP==> dspam ==LMTP==> dbmail. Attached to this email there's the mail message that causes dspam to return the error.
Feb 6 11:56:46 postfix/qmgr[11849]: BAA24B23E5: from=<serv...@popolarebari.it>, size=3485, nrcpt=1 (queue active) Feb 6 11:56:46 dspam[11860]: Got error -5 in response to message data: 354 Start mail input; end with <CRLF>.<CRLF>#015 Feb 6 11:56:46 postfix/lmtp[19712]: BAA24B23E5: to=<*...@*>, relay=*[/var/spool/postfix/tmp/dspam.sock], delay=205201, delays=205200/0.01/0/0.18, dsn=4.3.0, status=deferred (host *[/var/spool/postfix/tmp/dspam.sock] said: 421 4.3.0 <*...@*> Deferred: 354 Start mail input; end with <CRLF>.<CRLF> (in reply to end of DATA command)) Here's my dspam config ( latest dspam debian package ): DSPAM Anti-Spam Suite 3.9.0 (agent/library) Configuration parameters: '--build' 'i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--disable-dependency-tracking' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-split-configuration' '--enable-static' '--enable-external-lookup' '--enable-syslog' '--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=/usr/include/postgresql' '--with-storage-driver=mysql_drv,pgsql_drv,sqlite3_drv,hash_drv' '--enable-debug' '--enable-virtual-users' '--enable-preferences-extension' '--enable-clamav' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -O2' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2' ## $Id: dspam.conf.in,v 1.91 2009/12/06 16:54:54 sbajic Exp $ ## dspam.conf -- DSPAM configuration file Home /var/spool/dspam StorageDriver /usr/lib/dspam/libmysql_drv.so TrustedDeliveryAgent "/usr/bin/procmail" DeliveryHost 127.0.0.1 DeliveryPort 24 DeliveryIdent localhost DeliveryProto LMTP EnablePlusedDetail on QuarantineMailbox +Spam # I should change this to "unlearn" to avoid the requeue of the message, right? OnFail error Trust root Trust dspam Trust www-data Trust mail Trust daemon TrainingMode teft TestConditionalTraining on Feature whitelist Algorithm graham burton Tokenizer chain PValue bcr WebStats on Preference "trainingMode=TEFT" # { TOE | TUM | TEFT | NOTRAIN } -> default:teft Preference "spamAction=tag" # { 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=headers" # { 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 IgnoreHeader X-Spam-Status IgnoreHeader X-Spam-Scanned IgnoreHeader X-Spam-Checker-Version IgnoreHeader X-Spam-Level IgnoreHeader X-Virus-Scanner-Result IgnoreHeader X-policyd-weight IgnoreHeader Received-SPF Notifications off LocalMX 127.0.0.1 SystemLog on UserLog on Opt out ServerPID /var/run/dspam/dspam.pid ServerMode standard ServerDomainSocketPath "/var/spool/postfix/tmp/dspam.sock" ProcessorURLContext on ProcessorBias on StripRcptDomain off # Include a directory with configuration items. Include /etc/dspam/dspam.d/ ## EOF Cheers, Ettore
BAA24B23E5
Description: Binary data
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel