Код: Выделить всё
[f0s@mail] /usr/ports/mail/dspam/> uname -a
FreeBSD mail.artpaint 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Fri Aug 10 17:07:31 MSD 2007 root@mail.artpaint:/usr/obj/usr/src/sys/mail.kern-2007-10-08 amd64
[f0s@mail] /usr/ports/mail/dspam/> pkg_info | grep dsp
dspam-3.6.8_3 Bayesian spam filter - stable maintenance version
[f0s@mail] /usr/ports/mail/dspam/> pkg_info | grep exi
exim-4.69 High performance MTA for Unix systems on the Internet
[f0s@mail] /usr/ports/mail/dspam/>
на моменте проверки работы выдает:
Код: Выделить всё
[f0s@mail] /usr/ports/mail/dspam/> /usr/local/bin/dspam --debug --deliver=innocent --user local_part@domain.com -- %u < /mail/admin@artpaint.spb.ru/.Junk/cur/1214211101.P70357Q2.mail.artpaint:2,Sa
90142: [06/23/2008 14:51:10] dlopen() failed: /usr/local/lib/libmysql_drv.so: /usr/local/lib/libmysql_drv.so: Undefined symbol "ldap_verify"
90142: [06/23/2008 14:51:10] Unable to initialize storage driver
вот на всякий случай мой конфиг:
Код: Выделить всё
Home /var/db/dspam
StorageDriver /usr/local/lib/libmysql_drv.so
OnFail error
Trust root
Trust mail
Trust mailnull
TrainingMode teft
TestConditionalTraining on
Feature chained noise
Algorithm graham burton
PValue graham
Preference "signatureLocation=headers" # 'message' or 'headers'
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 /tmp/mysql.sock
MySQLUser dspam
MySQLPass COTOHA
MySQLDb DSPAM
MySQLConnectionCache 1000
HashRecMax 98317
HashAutoExtend on
HashMaxExtents 0
HashExtentSize 49157
HashMaxSeek 100
HashConnectionCache 100
IgnoreHeader X-Spam-Status
IgnoreHeader X-Spam-Score
IgnoreHeader X-Spam-Scanned
IgnoreHeader X-Virus-Scanner-Result
IgnoreHeader Date
IgnoreHeader Envelope-to
IgnoreHeader Delivery-date
IgnoreHeader Received
IgnoreHeader User-Agent
IgnoreHeader Content-Type
IgnoreHeader Content-Transfer-Encoding
IgnoreHeader To
Notifications off
LocalMX 127.0.0.1
SystemLog on
UserLog on
Opt out
MaxMessageSize 200000
ProcessorBias on
Код: Выделить всё
[f0s@mail] /usr/ports/mail/dspam/> cat /var/db/dspam/group
primary:classification:*local_part@domain.com
[f0s@mail] /usr/ports/mail/dspam/>