Hi!

I am installing DSPAM on my servers and i would appreciate your help.
My architecture is:

NET  <--> S1 [postfix + webmail] <--> S2 [dspam3.8 + postgresql + cyrus2.2]

where dspam is configured as a delivery agent proxy, from postfix to
cyrus2.2.
My problem is retraining dspam daemon (in S2) from S1, when users select
spam/non-spam on webmail.
If i retrain in S2, everything goes fine, but if i retrain from S1, it
doesn't work, dspam thinks it's a new message and delivers it to cyrus.

Command to retrain:
dspam --client --user <user> --class=spam --source=error --signature=<sig>
dspam --client --user <user> --class=innocent --source=error
--signature=<sig>

Configuration files:

S2 [192.168.0.250]
------------------------
Home /var/lib/dspam
StorageDriver /usr/local/lib/libpgsql_drv.so
DeliveryHost        /var/run/cyrus/socket/lmtp
DeliveryIdent       dspam-out
DeliveryProto       LMTP
QuarantineMailbox       +Spam
OnFail error
Trust root
Trust www-data
Trust dspam
Debug *
DebugOpt process classify spam fp
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Feature tb=3
Algorithm graham burton
Tokenizer chain
PValue bcr
WebStats no
ImprobabilityDrive on
Preference "spamAction=quarantine"
Preference "signatureLocation=headers"  # 'message' or 'headers'
Preference "showFactors=off"
AllowOverride trainingMode
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride optIn optOut
AllowOverride whitelistThreshold
PgSQLServer     /var/run/postgresql
PgSQLPort
PgSQLUser       dspam
PgSQLPass       secret
PgSQLDb         dspam
PgSQLConnectionCache    3
PgSQLUIDInSignature     on
PgSQLVirtualTable          dspam_virtual_uids
PgSQLVirtualUIDField       uid
PgSQLVirtualUsernameField  username
IgnoreHeader X-Spam-Status
IgnoreHeader X-Spam-Scanned
IgnoreHeader X-Virus-Scanner-Result
IgnoreHeader X-Virus-Scanned
IgnoreHeader X-DKIM
IgnoreHeader DKIM-Signature
IgnoreHeader DomainKey-Signature
IgnoreHeader X-Mailer
Notifications   off
LocalMX 192.168.0.251
SystemLog on
UserLog   on
Opt out
Broken case
Broken lineStripping
MaxMessageSize 1048576
ClamAVPort              3310
ClamAVHost              192.168.0.254
ClamAVResponse spam
ServerHost                      192.168.0.250
ServerPort                 2002
ServerQueueSize 32
ServerPID         /var/run/dspam/dspam.pid
ServerMode standard
ServerPass.Relay1       "dspam1"
ServerParameters  "--deliver=innocent,spam"
ServerIdent                     "dspam-in"
ProcessorURLContext on
ProcessorBias on

S1 [192.168.0.251]:
-----------------------
Home /var/lib/dspam
StorageDriver /usr/local/lib/libpgsql_drv.so
QuarantineMailbox       +Spam
OnFail error
Trust root
Trust www-data
Trust dspam
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Feature tb=3
Algorithm graham burton
Tokenizer chain
PValue bcr
WebStats no
ImprobabilityDrive on
Preference "spamAction=quarantine"
Preference "signatureLocation=headers"  # 'message' or 'headers'
Preference "showFactors=off"
AllowOverride trainingMode
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride optIn optOut
AllowOverride whitelistThreshold
PgSQLUIDInSignature     on
IgnoreHeader X-Spam-Status
IgnoreHeader X-Spam-Scanned
IgnoreHeader X-Virus-Scanner-Result
IgnoreHeader X-Virus-Scanned
IgnoreHeader X-DKIM
IgnoreHeader DKIM-Signature
IgnoreHeader DomainKey-Signature
IgnoreHeader X-Mailer
Notifications   off
SystemLog on
UserLog   on
Opt out
Broken case
Broken lineStripping
MaxMessageSize 1048576
ServerMode standard
ClientHost      192.168.0.250
ClientPort      2002
ClientIdent     "[EMAIL PROTECTED]"
ProcessorURLContext on
ProcessorBias on


thanks!

--
William
--------------------------------------
Prognus Software Livre
http://www.prognus.com.br

Reply via email to