[exim] Exim4 with dspam looping

Pàgina inicial
Delete this message
Reply to this message
Autor: Arne Schmitz
Data:  
A: exim users
Assumpte: [exim] Exim4 with dspam looping
I have installed the debian dspam packages, using the (almost) default
configurations, and now I get a looping dspam call (from exim mainlog):

======SNIP=========

2007-02-24 22:53:23 1HL4pX-0005Cl-7j <= dspam@??? U=dspam P=local S=91475
id=E1HL4pT-0005Ax-IA@???
2007-02-24 22:53:23 1HL4pW-0005Cd-Ux => dspam <dspam@???>
R=spamcheck_director T=spamcheck
2007-02-24 22:53:23 1HL4pW-0005Cd-Ux Completed

======SNIP=========

The transports look like this:

======SNIP=========

addspam:
driver = pipe
command = "/usr/bin/dspam --user
$local_part --mode=teft --class=spam --source=error"
current_directory = "/var/spool/dspam"
group = dspam
home_directory = "/var/spool/dspam"
log_output
message_prefix = ""
message_suffix = ""
return_fail_output
no_return_path_add
user = dspam

falsepositive:
driver = pipe
command = "/usr/bin/dspam --user
$local_part --mode=teft --class=innocent --source=error"
current_directory = "/var/spool/dspam"
group = dspam
home_directory = "/var/spool/dspam"
log_output
message_prefix = ""
message_suffix = ""
return_fail_output
no_return_path_add
user = dspam

# DSPAM
spamcheck:
driver = pipe
command = /usr/bin/dspam --mode=teft --deliver=innocent,spam --user
$local_part -bm %u
current_directory = "/var/spool/dspam"
group = dspam
home_directory = "/var/spool/dspam"
log_output
message_prefix =
message_suffix =
return_fail_output
no_return_path_add
user = dspam

======SNIP=========

The routers look like this:

======SNIP=========

# DSPAM
spamcheck_director:
  driver = accept
  check_local_user
  condition = "${if and {\
                         {!def:h_X-DSPAM-Result:}\
                 }{1}{0}}"
  headers_add = "X-DSPAM-Check: by $primary_hostname on $tod_full"
  transport = spamcheck
  no_verify


dspam_addspam:
driver = accept
check_local_user
local_part_prefix = spam-
transport = addspam

dspam_falsepositive:
driver = accept
check_local_user
local_part_prefix = falsepos-
transport = falsepositive

======SNIP=========

Can someone give me a hint what is running amok here?

Thanks a lot,

Arne

--
Dipl.-Inform. Arne Schmitz              Phone   +49 (0)241 80-21817
Computer Graphics Group                 Fax     +49 (0)241 80-22899
RWTH Aachen University                  http://www.rwth-graphics.de
Ahornstrasse 55, 52074 Aachen, Germany