[exim] Exim-DSPAM Routers don't run

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: María José Romero
Dátum:  
Címzett: exim-users
Tárgy: [exim] Exim-DSPAM Routers don't run
Hi!

I set Exim 4.68 with DSPAM 3.8.0.

This is the router and transport I used:



dspam_router:

no_verify

driver = accept

domains = +local_domains

transport = dspam_transport

condition = "${if and {\

                {!def:h_X-My-Dspam:}\


                {!eq {$received_protocol}{local}}\


                {!eq {$received_protocol}{spam-scanned}}\


                }{1}{0}}"


headers_add = "X-My-Dspam: scanned by $primary_hostname, $tod_full"



dspam_transport:

driver = pipe

command = "/usr/bin/dspam --client --deliver=innocent,spam --user
${lc:$local_part@$domain} -f '$sender_address' -- %u"

user = Debian-exim

group = Debian-exim

log_output = true

return_fail_output = true

return_path_add = false

message_prefix =

message_suffix =





The problem is that when sending an email, mail arrives at the user’s
mailbox but other routers that are before router delivery is not executed:



userforward:

debug_print = "ROUTER: userforward -> $local_part@$domain"

driver = redirect

domains = +local_domains

user = Debian-exim

allow_filter

file = ${extract{homeDirectory}{$address_data}{$value}fail}/userfilter

address_data = ${if def:address_data{$address_data}fail}

no_verify

no_expn

check_ancestor

file_transport = address_file

directory_transport = folder_put

pipe_transport = address_pipe

reply_transport = address_reply

ignore_enotdir



local_user:

debug_print = "ROUTER: local_user -> $local_part@$domain"

driver = accept

domains = +local_domains

condition = ${if eq {USERHOSTIP}{CENTRALHOSTIP}{yes}{no}}

transport = maildir_home

address_data = ${if def:address_data{$address_data}fail}

no_more

cannot_route_message = Unknown user



That is, userforward not executed.



I am sorry for my English and thanks in advance.