Hi all

I have DSPAM running as a daemon under a single UID on a single UID
virtual qmail setup. Some deliveries are simply disappearing, with the
only sign being a verbose log entry of the environment variables!

It is particularly strange given that all virtual users' deliveries
are handled by the same scripts which have been working well since
April this year. Could this have something to do with a corrupted
database?

Any suggestions and/or pertinent constructive criticism of my setup
would be appreciated.

Thanks
Dale

System info:

Linux 2.6.21.1
DSPAM 3.8.0
qmail 1.03 + patches
MySQL 4.1.7

/etc/dspam/dspam.conf:

Home /var/lib/dspam
TrustedDeliveryAgent "/usr/local/bin/vmail-deliver-dspam %u Maildir"
QuarantineAgent "/usr/local/bin/vmail-deliver-dspam %u Maildir/.Spam"
OnFail error
Trust vmail
TrainingMode teft
TestConditionalTraining on
Feature noise
Feature whitelist
Feature tb=3
Algorithm graham burton
Tokenizer chain
PValue bcr
Preference "spamAction=quarantine"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
MySQLServer     /tmp/mysql.sock
MySQLPort
MySQLUser       dspam
MySQLPass       ******
MySQLDb         dspam
MySQLCompress   true
MySQLConnectionCache    15
MySQLUIDInSignature    on

The delivery script vmail-deliver-dspam is:

#!/usr/bin/sh
vhome="/var/qmail/mail"
vuser=`eval echo $1 | cut -f1 -d "@"`
vhost=`eval echo $1 | cut -f2 -d "@"`
set `/usr/bin/safecat \
  "$vhome/$vhost/$vuser/$2"/tmp \
  "$vhome/$vhost/$vuser/$2"/new 2>/dev/null`
test "$?" = "0" || exit 111

/var/qmail/users/assign entry example:

+domain.name-:vmail:110:110:/var/qmail/mail/domain.name:/::

/var/qmail/mail/domain.name/.qmail/default:

|/usr/bin/dspam --client --deliver=innocent --user [EMAIL PROTECTED]

Reply via email to