YoZ
14.05.06, 18:25
hallo leute..
versuche dspam auf debian sarge zum laufen zu bringen..
hardware:
AMD 64 dual core opteron.
Habe dspam mit apt-get installiert alles scheint zu passen und zu laufen.. emails werden jedoch nicht überprüft...
emails müssten am ende mit "!DSpam id" gekennzeichnet werden und auch über die webinterface scheint es keine historical data zu geben.
hier aus den logs:
aus /var/log/exim4/mainlog sieht man dass die mails über dspam laufen:
2006-05-14 18:21:49 1FfJLp-0005vc-Mr => yoz <yoz@domain.org> R=dspam_router T=dspam_spamcheck
2006-05-14 18:21:49 1FfJLp-0005vc-Mr Completed
2006-05-14 18:21:49 1FfJLp-0005vn-R6 => /var/opt/vmail/domain.org/yoz/Maildir (yoz@debians.org) <yoz@optex.domain.org> R=virtual_domains T=virtual_delivery
2006-05-14 18:21:49 1FfJLp-0005vn-R6 Completed
die mails kommena auch an aber ohne dspam check.
und so sieht meine exim4.conf aus (dspam part):
dspam_router:
no_verify
check_local_user
# When to scan a message :
# - it isn't already flagged as spam from Spamassassin
# - it isn't already flagged as spam from DSPAM
# - it isn't already scanned
# - it isn't local
# - it isn't from one internal domain user to another
# - it is less than 512k in size
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!def:h_X-FILTER-DSPAM:} \
# {!eq {$received_protocol}{local}} \
{ <= {$message_size}{512k}} \
}\
{1}{0}}"
headers_add = "X-FILTER-DSPAM: by $primary_hostname on $tod_full"
driver = accept
transport = dspam_spamcheck
# Which users to run dspam for.
#local_parts = /usr/local/etc/exim/dspam-testers
dspam_addspam_router:
driver = accept
local_part_prefix = spam-
transport = dspam_addspam
dspam_falsepositive_router:
driver = accept
local_part_prefix = nospam-
transport = dspam_falsepositive
dspam_spamcheck:
driver = pipe
command = "/usr/bin/dspam --deliver=innocent --user \
${lc:$local_part} -f '$sender_address' -bm %u"
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
dspam_addspam:
driver = pipe
command = "/usr/bin/dspam --class=spam --source=error --user \
${lc:$local_part} -f '$sender_address' -bm %u"
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
dspam_falsepositive:
driver = pipe
command = "/usr/bin/dspam --class=innocent --source=error \
--deliver=innocent,spam --user ${lc:$local_part}\
-f '$sender_address' -bm %u"
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
=
ich denke dass es nur an dspam hängt, weiss aber nicht was es ist.
jemand eine idee?
versuche dspam auf debian sarge zum laufen zu bringen..
hardware:
AMD 64 dual core opteron.
Habe dspam mit apt-get installiert alles scheint zu passen und zu laufen.. emails werden jedoch nicht überprüft...
emails müssten am ende mit "!DSpam id" gekennzeichnet werden und auch über die webinterface scheint es keine historical data zu geben.
hier aus den logs:
aus /var/log/exim4/mainlog sieht man dass die mails über dspam laufen:
2006-05-14 18:21:49 1FfJLp-0005vc-Mr => yoz <yoz@domain.org> R=dspam_router T=dspam_spamcheck
2006-05-14 18:21:49 1FfJLp-0005vc-Mr Completed
2006-05-14 18:21:49 1FfJLp-0005vn-R6 => /var/opt/vmail/domain.org/yoz/Maildir (yoz@debians.org) <yoz@optex.domain.org> R=virtual_domains T=virtual_delivery
2006-05-14 18:21:49 1FfJLp-0005vn-R6 Completed
die mails kommena auch an aber ohne dspam check.
und so sieht meine exim4.conf aus (dspam part):
dspam_router:
no_verify
check_local_user
# When to scan a message :
# - it isn't already flagged as spam from Spamassassin
# - it isn't already flagged as spam from DSPAM
# - it isn't already scanned
# - it isn't local
# - it isn't from one internal domain user to another
# - it is less than 512k in size
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!def:h_X-FILTER-DSPAM:} \
# {!eq {$received_protocol}{local}} \
{ <= {$message_size}{512k}} \
}\
{1}{0}}"
headers_add = "X-FILTER-DSPAM: by $primary_hostname on $tod_full"
driver = accept
transport = dspam_spamcheck
# Which users to run dspam for.
#local_parts = /usr/local/etc/exim/dspam-testers
dspam_addspam_router:
driver = accept
local_part_prefix = spam-
transport = dspam_addspam
dspam_falsepositive_router:
driver = accept
local_part_prefix = nospam-
transport = dspam_falsepositive
dspam_spamcheck:
driver = pipe
command = "/usr/bin/dspam --deliver=innocent --user \
${lc:$local_part} -f '$sender_address' -bm %u"
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
dspam_addspam:
driver = pipe
command = "/usr/bin/dspam --class=spam --source=error --user \
${lc:$local_part} -f '$sender_address' -bm %u"
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
dspam_falsepositive:
driver = pipe
command = "/usr/bin/dspam --class=innocent --source=error \
--deliver=innocent,spam --user ${lc:$local_part}\
-f '$sender_address' -bm %u"
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
=
ich denke dass es nur an dspam hängt, weiss aber nicht was es ist.
jemand eine idee?