On Aug 9, 2010, at 10:56 PM, Stevan Bajić wrote:
>> I have no idea where dspam is putting it.
>> 
> Is it maybe in your quarantine?

Nope - empty.

> Can you please post your dspam.conf?
> Can you post how you have glued DSPAM with your MTA?
> Can you post your MTA configuration you used for DSPAM?

Reposted below.

> Can you post the output of "dspam_admin list preference [your DSPAM user 
> name]"?

[r...@mail dspam]# dspam_admin list preference mark
enableBNR=on
enableWhitelist=on
optIn=off
optOut=off
showFactors=off
signatureLocation=headers
spamAction=quarantine
spamSubject=
statisticalSedation=3
trainingMode=TOE

> Can you post the output of "dspam_admin list preference default"?

[r...@mail dspam]# dspam_admin list preference default
enableBNR=off
enableWhitelist=on
optIn=off
optOut=off
showFactors=off
signatureLocation=headers
spamAction=quarantine
spamSubject=
statisticalSedation=2
trainingMode=TEFT

> Can you process a message on the command line by issuing "dspam --user [your 
> DSPAM user name] --deliver=innocent,spam --stdout < /path/to/a/mail/message" 
> and post the result?

[r...@mail tmp]# dspam --user mark --deliver=innocent,spam --stdout < test.eml 
Return-Path: <dspam-user-boun...@lists.sourceforge.net>
X-Original-To: m...@pdc-racing.net
Delivered-To: m...@pdc-racing.net
Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88])
        by mail.pdc-racing.net (Postfix) with ESMTP id 9636E17D8474
        for <m...@pdc-racing.net>; Mon,  9 Aug 2010 22:58:15 -0700 (PDT)
Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com)
        by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69)
        (envelope-from <dspam-user-boun...@lists.sourceforge.net>)
        id 1OihpF-0001BB-4L; Tue, 10 Aug 2010 05:56:37 +0000
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
        helo=mx.sourceforge.net)
        by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69)
        (envelope-from <ste...@bajic.ch>) id 1OihpD-0001Ay-Qo
        for dspam-user@lists.sourceforge.net; Tue, 10 Aug 2010 05:56:35 +0000
Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of bajic.ch
        designates 62.12.131.155 as permitted sender)
        client-ip=62.12.131.155; envelope-from=ste...@bajic.ch;
        helo=theia.bajic.name; 
Received: from theia.bajic.name ([62.12.131.155])
        by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256)
        (Exim 4.69) id 1OihpC-0005Ze-H2
        for dspam-user@lists.sourceforge.net; Tue, 10 Aug 2010 05:56:35 +0000
Received: from bajic01.emea.hpqcorp.net (unknown [62.12.131.152])
        by theia.bajic.name (Postfix) with ESMTPA id 2CB99823C01
        for <dspam-user@lists.sourceforge.net>;
        Tue, 10 Aug 2010 07:56:28 +0200 (CEST)
X-DKIM: OpenDKIM Filter v2.1.0 theia.bajic.name 2CB99823C01
X-SenderID: Sendmail Sender-ID Filter v1.0.0 theia.bajic.name 2CB99823C01
Authentication-Results: theia.bajic.name;
        sender-id=pass header.from=ste...@bajic.ch; auth=pass (LOGIN);
        spf=pass smtp.mfrom=ste...@bajic.ch
Date: Tue, 10 Aug 2010 07:56:27 +0200
From: Stevan =?UTF-8?B?QmFqacSH?= <ste...@bajic.ch>
To: dspam-user <dspam-user@lists.sourceforge.net>
Message-Id: <20100810075627.76b57090.ste...@bajic.ch>
In-Reply-To: <71b0fb8d-917d-419b-a6ef-1d11837ca...@pdc-racing.net>
References: <20100809100520.a51d6493.ste...@bajic.ch>
        <71b0fb8d-917d-419b-a6ef-1d11837ca...@pdc-racing.net>
X-Mailer: Sylpheed 3.0.3 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
X-DCC-URT-Metrics: theia 1060; Body=1 Fuz1=1 Fuz2=1
X-Spam-Score: -0.5 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
        See http://spamassassin.org/tag/ for more details.
        -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
        sender-domain
        1.1 DKIM_ADSP_ALL          No valid author signature,
        domain signs all mail
        -0.0 SPF_PASS               SPF: sender matches SPF record
        0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
        not necessarily valid
        0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid
        -0.2 AWL AWL: From: address is in the auto white-list
X-Headers-End: 1OihpC-0005Ze-H2
Subject: Re: [Dspam-user] 3.9.0 install from EPEL
X-BeenThere: dspam-user@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <dspam-user.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/dspam-user>,
        <mailto:dspam-user-requ...@lists.sourceforge.net?subject=unsubscribe>
List-Archive: 
<http://sourceforge.net/mailarchive/forum.php?forum_name=dspam-user>
List-Post: <mailto:dspam-user@lists.sourceforge.net>
List-Help: <mailto:dspam-user-requ...@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/dspam-user>,
        <mailto:dspam-user-requ...@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: dspam-user-boun...@lists.sourceforge.net
X-DSPAM-Result: Whitelisted
X-DSPAM-Processed: Mon Aug  9 23:04:10 2010
X-DSPAM-Confidence: 0.9996
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 1,4c60ebda119015809415860

T24gTW9uLCA5IEF1ZyAyMDEwIDIyOjQyOjIzIC0wNzAwCk1hcmsgRGFkZ2FyIDxtYXJrQHBkYy1y
YWNpbmcubmV0PiB3cm90ZToKCj4gT24gQXVnIDksIDIwMTAsIGF0IDE6MDUgQU0sIFN0ZXZhbiBC
YWppxIcgd3JvdGU6Cj4gPiBGcm9tOiAiSW1wb3NpdC5jb20gLSBXZWJtYXN0ZXIiIDx3ZWJtYXN0
ZXJAaW1wb3NpdC5jb20+Cj4gPiAKPiA+IFBsZWFzZSBha3RpdmF0ZSBkZWJ1Zwo+ID4gYW5kIHNl
bmQgdXMgdGhlIGxvZwo+ID4gY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LS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQpUaGlzIFNG
Lm5ldCBlbWFpbCBpcyBzcG9uc29yZWQgYnkgCgpNYWtlIGFuIGFwcCB0aGV5IGNhbid0IGxpdmUg
d2l0aG91dApFbnRlciB0aGUgQmxhY2tCZXJyeSBEZXZlbG9wZXIgQ2hhbGxlbmdlCmh0dHA6Ly9w
LnNmLm5ldC9zZnUvUklNLWRldjJkZXYgCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fCkRzcGFtLXVzZXIgbWFpbGluZyBsaXN0CkRzcGFtLXVzZXJAbGlzdHMu
c291cmNlZm9yZ2UubmV0Cmh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3Rp
bmZvL2RzcGFtLXVzZXIK


- 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' 
'--with-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

Reply via email to