On Fri, 16 Apr 2010 16:38:01 +0200
<salson.uma...@monecam.com> wrote:

> Hello all,
> 
> I use postfix (2.6.5) with mysql, dovecot and roundcube, all are on the
> same serveur centos 5.4
> 
> My dspam is 3.9.0
> 
> All the mails are read by dspam because all the mails have :
> !DSPAM:1,4bc84266127292053619437! 
> 
> I am use :
> http://sourceforge.net/apps/mediawiki/dspam/index.php?title=Integrate_DS
> PAM_into_the_Debian-based_ISPmail_setup
> 
Can not read that page. Seems to be down.


> For dspam, just aditional information
> 
> My dspam.conf :
> 
> 
> 
> Home /opt/dspam/var/dspam
> StorageDriver /opt/dspam/lib/dspam/libmysql_drv.so
> DeliveryHost        127.0.0.1
> DeliveryPort        25001
> DeliveryIdent       localhost
> DeliveryProto       SMTP
> OnFail error
> Trust root
> Trust vmail
> Trust daemon
> DebugOpt process spam fp
> TrainingMode teft
> TestConditionalTraining on
> Feature whitelist
> Algorithm graham burton
> Tokenizer chain
> PValue bcr
> WebStats on
> Preference "signatureLocation=message"  # 'message' or 'headers'
> Preference "showFactors=on"
> Preference "spamAction=tag"
> Preference "spamSubject=[SPAM]"
> AllowOverride trainingMode
> AllowOverride spamAction spamSubject
> AllowOverride statisticalSedation
> AllowOverride enableBNR
> AllowOverride enableWhitelist
> AllowOverride signatureLocation
> AllowOverride showFactors
> AllowOverride optIn optOut
> AllowOverride whitelistThreshold
> MySQLServer     127.0.0.1
> MySQLPort       3306
> MySQLUser               dspam
> MySQLPass               258654JC2
> MySQLDb                 dspam
> MySQLCompress           true
> MySQLReconnect          true
> MySQLConnectionCache    10
> MySQLVirtualTable          dspam_virtual_uids
> MySQLVirtualUIDField       uid
> MySQLVirtualUsernameField  username
> MySQLUIDInSignature    on
> HashRecMax              98317
> HashAutoExtend          on
> HashMaxExtents          0
> HashExtentSize          49157
> HashPctIncrease 10
> HashMaxSeek             10
> HashConnectionCache     10
> Notifications   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
> Opt out
> ParseToHeaders on
> ChangeModeOnParse on
> ChangeUserOnParse full
> ServerHost              127.0.0.1
> ServerPort              25000
> ServerQueueSize 32
> ServerPID              /opt/dspam/var/dspam/dspam.pid
> ServerMode standard
> ServerParameters        "--deliver=innocent -d %u"
> ServerIdent             "localhost.localdomain"
> ServerDomainSocketPath  "/tmp/dspam.sock"
> ProcessorURLContext on
> ProcessorBias on
> StripRcptDomain off
> 
> 
> In my master.cf :
> 
> smtp      inet  n       -       n       -       -       smtpd
>    -o content_filter=lmtp:unix:/tmp/dspam.sock
> 
> ###for dspam
> localhost:25001 inet    n       -       -       -       -       smtpd
>   -o content_filter=
>   -o
> receive_override_options=no_unknown_recipient_checks,no_header_body_chec
> ks
>   -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
> 
> dspam-retrain   unix    -       n       n       -      -     pipe
>   flags=Rhq user=root argv=/opt/dspam/bin/dspamc --client --mode=teft
> --class=${nexthop} --source=error --user ${sender}
> 
When calling dspamc you don't need the "--client" switch.


> when i transfert a spam to s...@my-domain.com
> I have this error :
> 
> Apr 16 16:36:12 osirix postfix/lmtp[8551]: 47C8314AC17:
> to=<s...@zalteam.com>, relay=osirix [/tmp/dspam.sock], delay=0.43,
> delays=0.03/0.01/0
> /0.39, dsn=2.6.0, status=sent (250 2.6.0 <s...@zalteam.com> Message
> accepted for delivery)
> Apr 16 16:36:13 osirix postfix/qmgr[1468]: warning:
> private/dspam-retrain socket: malformed response
> Apr 16 16:36:13 osirix postfix/qmgr[1468]: warning: transport
> dspam-retrain failure -- see a previous warning/fatal/panic logfile
> record for the problem des
> cription
> 
> 
> same for h...@my-domain.com.
> 
> Any idea ?
> 
Somewhere in your Postfix you have a configuration that is rerouting ham@/spam@ 
to the dspam-retrain service. Could you post the content of that 
rewrite/transport/whatever file?


> Thanks in advance.
> 
> Tyr
> 
-- 
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to