[exim] Going out an Exim filter

Pàgina inicial
Delete this message
Reply to this message
Autor: Fabien LUCE
Data:  
A: exim-users
Assumpte: [exim] Going out an Exim filter
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 ftg@???
[7:42]
Implicit keep
ftg@??? -> 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: ftg@???
Identi.ca: http://identi.ca/ftg
Web: www.lutix.org