Dear
I was developped my own content filter for postfix.
My process have already features to devliver/quarantine mails.
So would like to use dspam only to get scores from messages that my
process send.
currently when receive mail, the process send this command line
# /usr/local/bin/dspam --mode=toe --user david.touzeau --feature=noise
--classify </usr/share/artica-filter/03adc60de64c1d142a10c6997f66c3bd.eml
dspam answers has :
<< X-DSPAM-Result: david.touzeau result="Innocent" class="Innocent"
probability=0.0023 confidence=0.60 signature=N/A >>
why signature N/A ???
When my process detect a spam (with other methods) it send the commande
line :
# /usr/local/bin/dspam --user david.touzeau --class=spam --source=error
</usr/share/artica-filter/03adc60de64c1d142a10c6997f66c3bd.eml
But dspam answer has:
<< Unable to find a valid signature. Aborting. process_message returned
error -5. dropping message >>
how i can fix it ??
These are compilation mode :
--sysconfdir=/etc/dspam
--with-dspam-home=/var/spool/dspam
--with-dspam-home-owner=artica
--with-dspam-group=artica
--with-userdir-owner=artica
--with-storage-driver=sqlite3_drv
--enable-preferences-extension
--enable-whitelist
--enable-alternative-bayesian
--disable-dependency-tracking
--enable-virtual-users
--with-logdir=/var/log/dspam
--enable-long-usernames
--enable-virtual-users
--enable-spam-delivery
--without-delivery-agent
--without-quarantine-agent
--enable-debug
best regards
--
David Touzeau -------------------------- Linux Ubuntu 7.04 feisty
FreePascal-Lazarus,perl,delphi,php artica for postfix management console
(http://www.artica.fr) icq:160018849