On Thu, Apr 16, 2009 at 5:26 AM, Hugo Monteiro <[email protected]> wrote:
> alexus wrote:
>>
>> Apr 16 04:11:26 mx1 dspam[77779]: No such feature 'chained'
>> Apr 16 04:11:26 mx1 dspam[77779]: Unable to attach DSPAM context
>> Apr 16 04:11:26 mx1 dspam[77779]: process_message returned error -2.
>> delivering.
>>
>> I'm getting these messages in my /var/log/maillog
>>
>> and on top of that, instead of what it reffers to be "deliverying" I
>> only get this
>>
>> Return-Path: <[email protected]>
>> Delivered-To: [email protected]
>> Received: (qmail 77796 invoked from network); 16 Apr 2009 04:11:40 -0000
>> Received: by simscan 1.4.0 ppid: 77790, pid: 77791, t: 0.0229s
>>         scanners: regex: 1.4.0 clamav: 0.95/m:50/d:9244 spam: 3.2.5
>>
>> and this is my full email, I just have few lines of headers, without
>> even rest of headers nor body of email is MIA
>>
>> someone please help
>> thanks in advance
>>
>>
>
> Hello Alexus,
>
>
> From the UPGRADING file, on 3.8.0 source distribution, you'll see something
> like:
>
> --- snip ---
>
> UPGRADING FROM 3.6
> ------------------
>
> 1. Add 'Tokenizer' setting to dspam.conf
>  The 'Tokenizer' setting in 3.8.0 replaces tokenizer definitions in the
>  "Feature" clause of previous version configurations. See src/dspam.conf
>  (after make) for more information about this seting.
>
> --- snip ---
>
>
> So, where you would have Feature chained, prior to 3.8.0, you should now
> have Tokenizer chained.
>
> Has for the crippled messages... if you set spam=no in your simcontrol file,
> i.e. disable dspam call, do you still observe the same? (don't forget to
> call simscanmk after the changes)
>
> Also please let us know how did you ./configure simscan. The way dspam is
> being called is rather important.
>
> Regards,
>
> Hugo Monteiro.
>
> --
> ci.fct.unl.pt:~# cat .signature
>
> Hugo Monteiro
> Email    : [email protected]
> Telefone : +351 212948300 Ext.15307
> Web      : http://hmonteiro.net
>
> Centro de Informática
> Faculdade de Ciências e Tecnologia da
>                   Universidade Nova de Lisboa
> Quinta da Torre   2829-516 Caparica   Portugal
> Telefone: +351 212948596   Fax: +351 212948548
> www.ci.fct.unl.pt             [email protected]
>
> ci.fct.unl.pt:~# _
>
>

my setup is LWQ type of setup with some minor modifications/tweaks
here and there
I also use simscan, i configured simscan with following options

./configure --enable-per-domain --enable-attach --enable-dspam=n
--enable-spam-passthru --enable-spam --enable-spamc-args=-U
/tmp/spamd.sock --enable-received --enable-regex=y
CPPFLAGS=-I/usr/local/include/ LDFLAGS=-L/usr/local/lib/

and i configure dspam with following options

./configure --enable-debug --enable-virtual-users

the earlier problem that i've had, which is produced in
/var/log/qmail/smtpd/current


@4000000049e6978a0df9cc04 execve returned -1/13


i fixed, by changing permissions for /usr/local/bin/dspam

r...@mx1 /home/vpopmail/domains/8au.net/postmaster/Maildir 571$ ls -la
/usr/local/bin/dspam
-r-s--x---  1 simscan  mail  364532 Apr 16 03:29 /usr/local/bin/dspam
r...@mx1 /home/vpopmail/domains/8au.net/postmaster/Maildir 572$

now I'm facing new problem

Apr 16 04:11:40 mx1 dspam[77792]: No such feature 'chained'
Apr 16 04:11:40 mx1 dspam[77792]: Unable to attach DSPAM context
Apr 16 04:11:40 mx1 dspam[77792]: process_message returned error -2.
delivering.

this is my dspam.conf

Algorithm graham burton
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride optIn optOut
AllowOverride showFactors
AllowOverride signatureLocation
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride trainingMode
AllowOverride whitelistThreshold
Feature whitelist
HashAutoExtend          on
HashConnectionCache     10
HashExtentSize          49157
HashMaxExtents          0
HashMaxSeek             10
HashPctIncrease 10
HashRecMax              98317
Home /usr/local/var/dspam
LocalMX 127.0.0.1
Notifications   off
OnFail error
Opt out
PValue bcr
Preference "showFactors=on"
Preference "signatureLocation=message"  # 'message' or 'headers'
Preference "spamAction=quarantine"
ProcessorBias on
ProcessorURLContext on
PurgeHapaxes    30          # Tokens with less than 5 hits (hapaxes)
PurgeHits1I     15          # Tokens with only 1 innocent hit
PurgeHits1S     15          # Tokens with only 1 spam hit
PurgeNeutral    90          # Tokens with neutralish probabilities
PurgeSignatures 14          # Stale signatures
PurgeUnused     90          # Unused tokens
StorageDriver /usr/local/lib/libhash_drv.so
SystemLog on
TestConditionalTraining on
Tokenizer word
TrainingMode teft
Trust daemon
Trust mail
Trust mailnull
Trust qmaild
Trust root
Trust smmsp
TrustedDeliveryAgent "/usr/libexec/mail.local"
UserLog   on
WebStats on

-- 
http://alexus.org/

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to