[Exim] exiscan 4.10-12 problem with spamd

Etusivu
Poista viesti
Vastaa
Lähettäjä: Wolfgang.Fuertbauer
Päiväys:  
Vastaanottaja: exim-users
Kopio: tom
Aihe: [Exim] exiscan 4.10-12 problem with spamd
Hi Tom, all,

I implemented the spamd-options in exiscan-4.10-12; i think, this is a
*very*
good feature (more response to the sender in case of false spam-scoring);
but it does not work as expected: negative score is not recongized correct
what is my fault?

----- exim.conf -----
exiscan_condition = 1
exiscan_crypt_salt = fo
#
exiscan_av_condition = 1
exiscan_av_action = reject
exiscan_av_scanner = cmdline
exiscan_av_scanner_path = /usr/local/bin/uvscan
exiscan_av_scanner_options = --secure -rv --summary --noboot |
exiscan_av_scanner_regexp_trigger = Found
exiscan_av_scanner_regexp_description = (Found.*)
#
exiscan_spamd_condition = 1
exiscan_spamd_action = reject
exiscan_spamd_treshold = 5
exiscan_spamd_address = 127.0.0.1 783
# end of exiscan configuration
----- exim.conf ------

and here is a testmail:

fuertw@saxophon:/tmp/Mail-SpamAssassin-2.31> /usr/exim/bin/exim -v
wolfgang.fuertbauer@???
from: wolfgang.fuertbauer@???
to: wolfgang.fuertbauer@???
subject: test

asdf
asdf
.
exiscan: starting
exiscan: using command line scanner. Path: /usr/local/bin/uvscan, Options:
--secure -rv --summary --noboot |
exiscan: calling scanner as '/usr/local/bin/uvscan --secure -rv --summary
--noboot /var/spool/exim/scan/17kgHS-0004rW-00 >
/var/spool/exim/scan/17kgHS-0004rW-00/17kgHS-0004rW-00-scanner_output 2>&1'
exiscan: spamd version:1.1 spamd_bool:False spamd_score:-57.1
spamd_treshold:5
LOG: MAIN
exiscan: found spam score over treshold (-57.1
(------------------------------------------------SPAMD/1.1 0 EX_OK\r\nSpam:
False ; -57.1 / 5.0\r\n\r\n)) Host=none/unresolved/local
[none/unresolved/local] Sender='fuertw@???' Recipients[1]
=[wolfgang.fuertbauer@???] Subject='test\n'
LOG: MAIN
exiscan: rejecting.
exiscan_cleanup(): unlinking
/var/spool/exim/scan/17kgHS-0004rW-00/17kgHS-0004rW-00-complete
exiscan_cleanup(): unlinking
/var/spool/exim/scan/17kgHS-0004rW-00/textfile0
exiscan_cleanup(): unlinking
/var/spool/exim/scan/17kgHS-0004rW-00/17kgHS-0004rW-00-scanner_output
LOG: MAIN REJECT
rejected by exiscan(): this message scored -57.1
(------------------------------------------------SPAMD/1.1 0 EX_OK\r\nSpam:
False ; -57.1 / 5.0\r\n\r\n) spam points.
exiscan: starting
exiscan: using command line scanner. Path: /usr/local/bin/uvscan, Options:
--secure -rv --summary --noboot |
exiscan: calling scanner as '/usr/local/bin/uvscan --secure -rv --summary
--noboot /var/spool/exim/scan/17kgHl-0004rb-00 >
/var/spool/exim/scan/17kgHl-0004rb-00/17kgHl-0004rb-00-scanner_output 2>&1'
exiscan: spamd version:1.1 spamd_bool:False spamd_score:-53.5
spamd_treshold:5
LOG: MAIN
exiscan: found spam score over treshold (-53.5
(------------------------------------------------SPAMD/1.1 0 EX_OK\r\nSpam:
False ; -53.5 / 5.0\r\n\r\n)) Host=none/unresolved/local
[none/unresolved/local] Sender='' Recipients[1]=[fuertw@???] Subject
='Mail failure - rejected by local scanning code\n'
LOG: MAIN
exiscan: rejecting.
exiscan_cleanup(): unlinking
/var/spool/exim/scan/17kgHl-0004rb-00/17kgHl-0004rb-00-complete
exiscan_cleanup(): unlinking
/var/spool/exim/scan/17kgHl-0004rb-00/textfile0
exiscan_cleanup(): unlinking
/var/spool/exim/scan/17kgHl-0004rb-00/17kgHl-0004rb-00-scanner_output
LOG: MAIN REJECT
rejected by exiscan(): this message scored -53.5
(------------------------------------------------SPAMD/1.1 0 EX_OK\r\nSpam:
False ; -53.5 / 5.0\r\n\r\n) spam points.
LOG: MAIN
Error while reading message with no usable sender address
(R=17kgHS-0004rW-00): rejected by local_scan: this message scored -53.5
(------------------------------------------------SPAMD/1.1 0 EX_OK
Spam: False ; -53.5 / 5.0

) spam points.
LOG: MAIN
  Child mail process returned status 1
----------------------------------------------------------------------
Wolfgang Fuertbauer (E-Mail: Wolfgang.Fuertbauer@???)
EBEWE Pharma                          Tel: ++43 7665 8123 315
Mondseestrasse 11                     Fax: ++43 7665 8123 11
4866  Unterach, Austria
http://www.ebewe.com