[Exim] require_files and local_parts

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Padraic Renaghan
Data:  
Para: exim-users
Asunto: [Exim] require_files and local_parts
Take the following director:

test_director:
driver = forwardfile
require_files = /conf/virtual/${lc:$domain}/mail/test
local_parts = lsearch;/conf/virtual/${lc:$domain}/mail/test
file = /conf/shared/mail/test.filter
no_check_local_user
filter
check_ancestor
reply_transport = address_reply

If the /conf/virtual/$domain/mail/test file doesn't exist, then it
causes exim to fail on that director and hold the message on the
queue.

I had expected require_files to take precedence over the local_parts
check. It seems that local_parts is checked before require_files. I
got around this issue by removing require_files and using a
local_parts line with a "${if exists...}" type structure.

The workaround works, just wondering if my assumption about
require_files is widely held.

--
Padraic Renaghan /pad-rik ren-a-han/
padraic@???
IM: abuhaina (AOL/Yahoo/MSN) 9437815 (ICQ)
http://renaghan.com/pcr/
lure --> 123sig987@??? <-- don't use