[Exim] redirect_router

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: BlackHawk
Data:  
Para: exim-users
Temas antigos: Re: [Exim] 504 DNS verification of sending machine failed
Asunto: [Exim] redirect_router
Hi Guys,

i'm using exim 4.24 with exiscan patch and spamassassin.
Mail isn't delivered immediatly but i have to wait next queue run to see my mail delivered. What i'm
missing? Should i use pass_router?

Thanks

Riccardo

----------------------------------------------------------
My routers:

system_aliases:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
retry_use_local_part

scan_redirect:
     driver = redirect
     condition = ${if def:h_X-Redirect-To: {1}{0}}
     headers_add = X-Original-Recipient: $local_part@$domain
     data = $h_X-Redirect-To:
     headers_remove = X-Redirect-To
     redirect_router = local_not_exist


local_not_exist:
  driver = accept
  domains = +local_domains : +relay_to_dominos
  condition = "${if or {\
        {!eq {${lookup ldap
{ldap:///c=IT?mail?sub?(&(shortname=$local_part))} {$local_part}}}{}}\
        {!eq {${lookup ldap
{ldap:///c=IT?mail?sub?(&(mail=$local_part@$domain))}
{$local_part@$domain}}}{}}\
        }{0}{1}}"
  retry_use_local_part
  transport = rcpt_not_found_autoreply


local:
driver = accept
domains = +local_domains
retry_use_local_part
transport = internal_smtp

posta_internet:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp