[exim] Exim rounte for fail and local user delivery - Forwar…

Página Inicial
Delete this message
Reply to this message
Autor: Sherin A
Data:  
Para: exim-users
Assunto: [exim] Exim rounte for fail and local user delivery - Forward router
Hello,

 I have a router setup in exim my router is as follows,

# To manager Forwarders
forwardemail_route:
  driver = redirect
  domains = $primary_hostname : +local_domains
  no_check_local_user
  forbid_file
  forbid_filter_perl
  qualify_preserve_domain
  allow_defer
  allow_fail
  allow_freeze
  condition = ${if eq{${perl{have_forwardemail}{$domain}}}{1}}
  reply_transport = address_reply
  user = "${lookup{$domain}lsearch{/etc/userdomains}{$value}}"
  router_home_directory = ${extract {5}{::}{${lookup passwd {${lookup
{$domain} lsearch{/etc/userdomains} {$value} }}{$value} }} }
  data = ${perl{get_forwaordmail}{$domain}}
  file_transport = address_file
  #pipe_transport = address_pipe
  pipe_transport = ${if exists {/bin/cagefs_enter} {cagefs_pipe}
{address_pipe} }
  no_more


This router works as an email forwarders, with the following conditions

foo@???   =>  fun@???    -> This option works fine
a@???  =>  :blackhoe:   -> This also works fine
b@???  => :fail:   -> This doesn't work
c@???  =>  myuser   -> This also doesn't work

The "data" will have the values of  ":fail:" , "myuser" , ":blackhole:" 
, "fun@???

 I still wonder why the last two conditions are not working in this
router, can any one point me to  a trouble shooting direction

Thank you

--
Regards
Sherin A