Hi everyone,

here is my userforward router:

userforward:
  driver = redirect
  check_local_user
  file = $home/.forward
  allow_filter
  no_verify
  no_expn
  check_ancestor
  directory_transport = address_directory


my .forward file have lines like these:

if header :contains "subject"
["a_spam_string"]
{
   fileinto "/home/ftg/Maildir/.Spams/";
   stop;
}

at the end of my file I must write down this:

fileinto "/home/ftg/Maildir/";
stop;

otherwise:
- the next router is never reached if no condition of the forward file
  is reached
- the email stay in the spool instead of coming in my inbox 

the next router is a simple :

localuser:
   driver = accept
   check_local_user
   transport = local_delivery
   cannot_route_message = Unknown user

something happens like going out of the userforward router, the
localuser what is given to it.

if I comment the last 2 lines of my forward file, exim -bt gives:

exim -bt [email protected]
[7:42]
Implicit keep
[email protected] -> inbox
*** Error in setting up pipe, file, or autoreply:
file_transport unset in userforward router

What do you think of this?




-- 
Fabien LUCE
Jabber ID: [email protected]
Identi.ca: http://identi.ca/ftg
Web: www.lutix.org

-- 
## 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