-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 22-02-14 15:51, David Mehler wrote:
> Hello,
> 
> I've been working with dspam for the past few days trying to solve 
> a permissions issue. Finally I just uninstalled, reinstalled, and 
> started over.
> 
> I'm not seeing permissions but I'm not sure it's working either. 
> I've included my dspam.conf below plus a log excerpt. If I've got 
> any configuration errors please let me know. I am seeing items 
> showing up as I in system.log and in the user log.
> 
> Thanks. Dave.
> 
> 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
> vmail TrainingMode tum TestConditionalTraining on Feature whitelist
> Algorithm graham burton Tokenizer osb PValue bcr WebStats off
> Preference "trainingMode=TUM"         # { 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=message"     # { message | 
> headers } -> default:message Preference "tagSpam=on"          # { 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 Preference "notifications=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 AllowOverride notifications MySQLServer 
> /var/lib/mysql/mysql.sock MySQLUser           xxx MySQLPass           xxx 
> MySQLDb xxx
> MySQLCompress         true MySQLReconnect             true MySQLVirtualTable 
> dspam_virtual_uids MySQLVirtualUIDField               uid 
> MySQLVirtualUsernameField     username MySQLUIDInSignature    on 
> HashRecMax            98317 HashAutoExtend            on HashMaxExtents       
>         0 
> HashExtentSize                49157 HashPctIncrease           10 HashMaxSeek  
>         10 
> HashConnectionCache   10 IgnoreHeader Authentication-Results 
> IgnoreHeader DKIM-Signature IgnoreHeader X-DKIM Notifications off 
> PurgeSignature        off     # Specified in purge.sql PurgeNeutral   90 
> PurgeUnused   off     # Specified in purge.sql PurgeHapaxes   off     # 
> Specified in purge.sql PurgeHits1S    off     # Specified in purge.sql 
> PurgeHits1I   off     # Specified in purge.sql LocalMX 127.0.0.1 
> SystemLog     on UserLog              on Opt out ParseToHeaders on 
> ChangeModeOnParse on ChangeUserOnParse full ServerPort                10024 
> ServerQueueSize       32 ServerPID            /var/run/dspam/dspam.pid 
> ServerMode 
> auto ServerParameters "--deliver=innocent" ServerIdent "localhost"
> ServerDomainSocketPath        "/var/run/dspam/dspam.sock" 
> ProcessorURLContext on ProcessorBias on StripRcptDomain off 
> GroupConfig /var/lib/dspam/group
> 
> and in log: Feb 22 09:11:36 xxxx dspam[4306]: Signature retrieval 
> for '5000,5307e10d315071527687891' failed Feb 22 09:11:36 xxxx 
> dspam[4306]: Unable to find a valid signature. Aborting. Feb 22 
> 09:11:36 xxxx dspam[4306]: process_message returned error -5. 
> dropping message.
> 

The error shows a problem during retraining: it's trying to find a
signature to retrain, but the sifnature isn't available in the
database backend. Are you sure that the message you trained has a
signature from the same install? If you rebuilt your setup a few
times, you probably also started with an empty database (or new uids).

Can you try to retrain a message that was received by your latest
install? If that fails, then please show the original delivery logs of
the message, and the retrain logs.

Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTCNJWAAoJEJPfMZ19VO/1TNcQAKgu/fs1HYV38E7QeddGPmcE
IKBGKsacouuMNut/x8d0dQ2FnO/mPpXfGv7jPFdcnd0H4VjdP7w6pTkfeLMJcKun
60gxfEEB3FcszBnYvtr2/nJmvK0x/DgBgRV7l9ifQzwjI9LezrHW2hkZNM4+W2+j
2Ei7B4qnoq0mfuE4vWbUxI628q8BV+onDLXyXgRQW+isQEt5/PX0chlemPp0vq+0
H30ExRqOtVlbxEvqjKca5TbGvUnxWjZutQp7GVx3eUzDJfO0eU2cd0ab0x/VZsGm
nxwoko18But7qRVZToGvAulK5k0nxjUyedyu/PZWWjlzy48XMJXFgkNDFJR1fX0H
JQP6xq7fEtzS7bWRMbpDPKvKKGDUho6Ns7VtqeNgmVskTkBXyaVmVGKMoeFYr7oZ
9gg0psmM6iSTfN4FeTKZWzRKSwMjrxLzIuKQA7NBaFICH+XWlyr/3W9VE71nNqJw
y9ujBrn+FVq5rn/B4EMhi8mXRE0qV6UFS68E4msy+u1z3+o4G1gb9W3igpmb2Azr
PA+sIwn8vrw4PRD2HWgtAd6zb+xwLPoHr2Jt9NwpYhZGQ4fmPdd+rXTT43uSiYhP
XXah7yof4aGV3pi5ecyXE9r65v48uiLdl4iTEA/C+J3Od/M5AkObIG88NMuNgKET
lRZdCh5YJ9ZeC2YV0drK
=2SFE
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to