Hello,
I installed dspam on a debian testing system with postfix mysql virtual
users.
My dspam version is 3.6.8-5
Here is my config:
postfix:
smtp inet n - n - - smtpd
-o content_filter=lmtp:unix:/tmp/dspam.sock
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
dspam:
Home /var/spool/dspam
StorageDriver /usr/lib/dspam/libmysql_drv.so
TrustedDeliveryAgent "/usr/bin/procmail"
DeliveryHost 127.0.0.1
DeliveryPort 10026
DeliveryIdent localhost
DeliveryProto SMTP
OnFail error
Trust root
Trust mail
Trust postfix
Trust mailnull
Trust dspam
Trust daemon
Trust www
Debug *
TrainingMode teft
TestConditionalTraining on
Feature chained
Feature whitelist
Algorithm graham burton
PValue graham
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 localhost
MySQLPort 3306
MySQLUser dspam
MySQLPass jeamdmdp56
MySQLDb dspam
MySQLCompress true
MySQLConnectionCache 20
MySQLVirtualTable dspam_virtual_uids
MySQLVirtualUIDField uid
MySQLVirtualUsernameField username
MySQLUIDInSignature on
HashRecMax 98317
HashAutoExtend on
HashMaxExtents 0
HashExtentSize 49157
HashMaxSeek 100
HashConnectionCache 10
Notifications on
LocalMX 127.0.0.1
SystemLog on
UserLog on
Opt out
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse off
ServerPID /var/run/dspam.pid
ServerMode auto
ServerParameters "--deliver=innocent"
ServerIdent "localhost.localdomain"
ServerDomainSocketPath "/tmp/dspam.sock"
ProcessorBias on
I have 2 problems:
First, when i send this command: dspam --user [EMAIL PROTECTED]
--class=spam --source=error --signature=1,460429b4113851361293618
1585: [03/30/2007 16:49:43] DSPAM Instance Startup
1585: [03/30/2007 16:49:43] input args: dspam --user [EMAIL PROTECTED]
--class=spam --source=error --signature=1,460429b4113851361293618
1585: [03/30/2007 16:49:43] pass-thru args:
1585: [03/30/2007 16:49:43] processing user [EMAIL PROTECTED]
1585: [03/30/2007 16:49:43] uid = 0, euid = 0, gid = 0, egid = 111
1585: [03/30/2007 16:49:43] loading preferences for user [EMAIL PROTECTED]
1585: [03/30/2007 16:49:43] Loading preferences for uid 1
1585: [03/30/2007 16:49:43] Loading preferences for uid 0
1585: [03/30/2007 16:49:43] Loading preferences for uid 0
1585: [03/30/2007 16:49:43] loaded default preferences externally
1585: [03/30/2007 16:49:43] using
/var/spool/dspam/opt-in/domain.com/adrien.dspam as path
1585: [03/30/2007 16:49:43] using
/var/spool/dspam/opt-out/domain.com/adrien.nodspam as path
1585: [03/30/2007 16:49:43] DSPAM Instance Shutdown. Exit Code: 0
I don't know why but /var/spool/dspam/opt-in/ is empty (and they have
the right permission )
Here is the log when postfix send mail to dspam daemon:
31261: [03/30/2007 16:34:30] DSPAM Instance Startup
31261: [03/30/2007 16:34:30] input args: dspam --deliver=innocent
31261: [03/30/2007 16:34:30] pass-thru args: /usr/bin/procmail
31261: [03/30/2007 16:34:30] processing user [EMAIL PROTECTED]
31261: [03/30/2007 16:34:30] uid = 0, euid = 0, gid = 0, egid = 111
31261: [03/30/2007 16:34:30] loading preferences for user [EMAIL PROTECTED]
31261: [03/30/2007 16:34:30] default preferences empty. reverting to
dspam.conf preferences.
31261: [03/30/2007 16:34:30] Loading preferences from dspam.conf
31261: [03/30/2007 16:34:30] using
/var/spool/dspam/opt-in/domain.com/user.dspam as path
31261: [03/30/2007 16:34:30] using
/var/spool/dspam/opt-out/domain.com.com/user.nodspam as path
31261: [03/30/2007 16:34:30] sedation level set to: 0
31261: [03/30/2007 16:34:30] message is signed. retaining original text
for reassembly
31261: [03/30/2007 16:34:31] Whitelist threshold: 10
....
31261: [03/30/2007 16:34:31] Graham-Bayesian Probability: 0.000000
Samples: 15
31261: [03/30/2007 16:34:31] Burton-Bayesian Probability: 0.000000
Samples: 27
31261: [03/30/2007 16:34:31] no factors specified; using default
31261: [03/30/2007 16:34:31] Result Confidence: 1.00
31261: [03/30/2007 16:34:31] Control: [10 10] [10 11] Delta: [0 1]
31261: [03/30/2007 16:34:31] saving signature as 2,460d1ff7312611238614597
31261: [03/30/2007 16:34:31] libdspam returned probability of 0.000000
31261: [03/30/2007 16:34:31] message result: NOT SPAM
31261: [03/30/2007 16:34:31] delivering message
31261: [03/30/2007 16:34:31] Establishing connection to 127.0.0.1:10026
31261: [03/30/2007 16:34:31] Connection established
31261: [03/30/2007 16:34:31] DSPAM Instance Shutdown. Exit Code: 0
Moreover Quarantine and "Mark Spam" or "Retrain" doesn't work in the web
frontend.
I read all tutorials and mailing list but I don't see the problem.
Thanks for help
Adrien