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

[email protected]   =>  [email protected]    -> This option works fine
[email protected]  =>  :blackhoe:   -> This also works fine
[email protected]  => :fail:   -> This doesn't work
[email protected]  =>  myuser   -> This also doesn't work

The "data" will have the values of  ":fail:" , "myuser" , ":blackhole:"  , "[email protected]

 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


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to