Hi,

I'm running Postfix + DSPAM, but after a while I'm getting a lot of errors 
like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aug 14 11:41:20 mail dspam[16830]: Unable to open file for 
reading: /var/spool/dspam/data/local/<user>/<user>.sig/<signature_file>.sig: 
No such file or directory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And indeed <signature_file>.sig doesn't exist 
in: /var/spool/dspam/data/local/<user>/<user>.sig/
but in : /var/spool/dspam/data/local/dspam/dspam.sig/

I'm using DSPAM with Postfix as shown below.

~~~~~~~~~~~</etc/dspam.conf>~~~~~~~~~~~~~~~~
Home /var/spool/dspam
StorageDriver /usr/lib/dspam/libhash_drv.so
DeliveryHost        127.0.0.1
DeliveryPort        10025
DeliveryIdent       localhost
DeliveryProto       SMTP
OnFail error
Trust root
Trust dspam
Trust apache
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
TrainingMode toe
TestConditionalTraining on
Feature noise
Feature tb=10
Feature whitelist
Algorithm graham burton
Tokenizer sbph
PValue markov
Preference "signatureLocation=message"  # 'message' or 'headers'
Preference "showFactors=off"
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
[...]
LocalMX 127.0.0.1
SystemLog on
UserLog   on
Opt out
ServerPID              /var/run/dspam/dspam.pid
ServerMode auto
ServerParameters        "--user dspam --deliver=innocent"
ServerIdent             "localhost"
ServerDomainSocketPath  "/var/run/dspam/dspam.sock"
ClientHost      "/var/run/dspam/dspam.sock"
ProcessorURLContext on
ProcessorBias on
~~~~~~~~~~~</etc/dspam.conf>~~~~~~~~~~~~~~~~

~~~~~~~~~~~</etc/postfix/master.cf>~~~~~~~~~~~
smtp      inet  n       -       n       -       -       smtpd
dspam     unix  -       -       n       -       10      lmtp
dspam-retrain   unix    -       n       n       -       10      pipe
   flags=Ru user=dspam argv=/usr/local/bin/dspam-retrain $nexthop $sender 
$recipient
[...]
127.0.0.1:10025 inet    n       -       n       -       -       smtpd
  -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  -o smtpd_client_restrictions=
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o receive_override_options=no_unknown_recipient_checks
[...]
~~~~~~~~~~~</etc/postfix/master.cf>~~~~~~~~~~~


And I really don't know if its anything wrong with the configuration shown 
above or where does the error might be?

Thanks a lot in advance for any help.

Regards,

Ed

!DSPAM:1011,48a487ca150926171715297!


Reply via email to